Unit 'utility' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

CallHookPkt

Invoke a Hook function callback.

Declaration

Source position: utility.pas line 261

function CallHookPkt(

  Hook: PHook;

  Obj: Pointer;

  Message_: Pointer

):LongWord;

Arguments

Hook

  

Pointer to an initialized Hook structure.

Function result

Depends upon the Hook itself.

Description

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.

Errors

If your callback function does not have the correct register definitions, the result of this function is entirely unreliable.


Documentation generated on: 2021-07-30