Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
FnHook Class Reference

#include <FnHook.h>

Classes

struct  FnEntry
 

Public Types

typedef struct FnHook::FnEntry FnEntry
 

Public Member Functions

void HookFunction (CHAR *pSrc, CHAR *pDst, UINT uHint, PVOID pFnNew)
 
void UnHookFunction (CHAR *pSrc, CHAR *pDst, UINT uHint)
 
void UnHookAll ()
 
PVOID WriteFn (PVOID ppFnAdr, PVOID ppFnNew)
 

Public Attributes

std::map< std::string, FnEntryvFn
 

Detailed Description

Definition at line 9 of file FnHook.h.

Member Typedef Documentation

Member Function Documentation

void FnHook::HookFunction ( CHAR *  pSrc,
CHAR *  pDst,
UINT  uHint,
PVOID  pFnNew 
)
void FnHook::UnHookAll ( )

Definition at line 102 of file FnHook.h.

References vFn, and WriteFn().

void FnHook::UnHookFunction ( CHAR *  pSrc,
CHAR *  pDst,
UINT  uHint 
)

Definition at line 84 of file FnHook.h.

References vFn, and WriteFn().

PVOID FnHook::WriteFn ( PVOID  ppFnAdr,
PVOID  ppFnNew 
)

Definition at line 111 of file FnHook.h.

Referenced by HookFunction(), UnHookAll(), and UnHookFunction().

Member Data Documentation

std::map<std::string,FnEntry> FnHook::vFn

Definition at line 25 of file FnHook.h.

Referenced by HookFunction(), UnHookAll(), and UnHookFunction().


The documentation for this class was generated from the following file: