#include <string>
#include <set>
#include <map>
#include <windows.h>
Go to the source code of this file.
◆ funcToFunc_t
◆ moduleNameToFuncToFunc_t
◆ funcToThunk_t
◆ dllImportTableHooks_hookSingle()
void * dllImportTableHooks_hookSingle |
( |
char * | targetDll, |
|
|
char * | importDll, |
|
|
char * | functionName, |
|
|
void * | newFunction ) |
Hooks a single imported function in a dll.
Uses the DllImportTableHook class.
- Parameters
-
targetDll | the name of the dll who has imported the function to be hooked. |
importDll | the name of the dll containing the function imported. |
functionName | The name of the function to be hooked. |
newFunction | the function to be called instead. |
- Returns
- an opaque pointer to the DllImportTableHook class instance that hooked the function.
References DllImportTableHooks::hookFunctions(), and DllImportTableHooks::requestFunctionHook().
◆ dllImportTableHooks_unhookSingle()
void dllImportTableHooks_unhookSingle |
( |
void * | hook | ) |
|