UGP/Visual Studio Projects/LibeayPatch/LibeayPatch/Hook.h

15 lines
349 B
C++

#ifndef IAT_HOOK_H
#define IAT_HOOK_H
#include <Windows.h>
class IAT
{
public:
static LPVOID Hook(LPCSTR lpModuleName, LPCSTR lpFunctionName, const LPVOID lpFunction, LPCSTR lpTargetModuleName);
static LPVOID Hook(LPCSTR lpModuleName, LPCSTR lpFunctionName, const LPVOID lpFunction);
private:
static LPVOID GetCurrentProcessModule();
};
#endif