Invoke a Hook function callback.
Source position: utility.pas line 224
function CallHookPkt( |
Hook: PHook; |
Object_: Pointer; |
ParamPaket: Pointer |
):NativeUInt; |
Hook |
|
Pointer to an initialized Hook structure. |
Object_ |
|
The object that this Hook is to act upon. |
ParamPaket |
|
The arguments to this callback. This will depend entirely on the type of the object. |
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.