RegisterHandleReadCallback (open)

Registers an callback function that will be called when a handle is read signalled. Only supported in the following contexts: tollium, appserver and porthandler.

Syntax

LOADLIB "wh::ipc.whlib";

INTEGER FUNCTION RegisterHandleReadCallback(INTEGER handle, FUNCTION PTR callback)

Parameters

INTEGER handle

Handle

FUNCTION PTR callback

Callback to call when the handle is read signalled arrives. Signature: MACRO callback()

Return value

INTEGER

Registration id, for use with UnregisterHandleCallback