BoxedAppSDK_HookFunction
Description
Creates a hook for the specified function.
For more information on using hooks, please see "Intercepting Functions".
Syntax
C++
HANDLE __stdcall BoxedAppSDK_HookFunction(
PVOID pFunction,
PVOID pHook,
BOOL bEnable);
Delphi
function BoxedAppSDK_HookFunction(
pFunction: Pointer;
pHook: Pointer;
bEnable: BOOL): THandle; stdcall;
Parameters
pFunction
The address of the function to hook.
pHook
The address of the hook function.
bEnable
If TRUE, the hook is enabled immediately. If FALSE, it is not enabled; you can enable it later using BoxedAppSDK_EnableHook.