The HookCode function can intercept a function and call another function instead.
function HookCode( pOrigFunction: Pointer; pCallbackFunction: Pointer; var pNewFunction: Pointer ): Boolean; stdcall;
Remarks
HookCode uses code overwriting to intercept a function. Therefore almost every function can be intercepted.
If the function succeeds, the return value is true.
If the function fails, the return value is false.
Requirements
| Client | Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95. |
|---|---|
| Header |
Declared in uallHook.pas |