SourceMod::IMemoryUtils Class Reference

Inherits SourceMod::SMInterface.

Inheritance diagram for SourceMod::IMemoryUtils:

[legend]
Collaboration diagram for SourceMod::IMemoryUtils:
[legend]
List of all members.

Public Member Functions

const char * GetInterfaceName ()
 Must return a string defining the interface's unique name.
unsigned int GetInterfaceVersion ()
 Must return an integer defining the interface's version.
virtual void * FindPattern (const void *libPtr, const char *pattern, size_t len)=0
 Searches for a pattern of bytes within the memory of a dynamic library.

Detailed Description

Definition at line 47 of file IMemoryUtils.h.


Member Function Documentation

virtual void* SourceMod::IMemoryUtils::FindPattern ( const void *  libPtr,
const char *  pattern,
size_t  len 
) [pure virtual]

Searches for a pattern of bytes within the memory of a dynamic library.

Parameters:
libPtr Pointer to any chunk of memory that resides in the dynamic library.
pattern Pattern of bytes to search for. 0x2A can be used as a wildcard.
len Size of the pattern in bytes.
Returns:
Pointer to pattern found in memory, NULL if not found.


The documentation for this class was generated from the following file:
Generated on Thu Aug 28 22:10:25 2008 for SourceMod SDK by  doxygen 1.5.1