Invoke a Hook function callback.
Source position: utility.pas line 175
function CallHookPkt( |
Hook: PHook; |
HObject: Pointer; |
ParamPacket: Pointer |
):LongWord; |
Hook |
|
Pointer to an initialized Hook structure. |
Depends upon the Hook itself.
Call the callback hook defined by a Hook structure. This is effectively a long jump to the PHook^.h_Entry vector of the structure.
The Hook will be called with the same arguments as this function.
If your callback function does not have the correct register definitions, the result of this function is entirely unreliable.