AddToForward Function

Adds a function to a private forward's call list.

bool AddToForward(Handle fwd, Handle plugin, function func)

Parameters

Handle fwd

Handle to private forward.

Handle plugin

Handle of the plugin that contains the function. Pass INVALID_HANDLE to specify the calling plugin.

function func

Function to add to forward.

Return Value

True on success, false otherwise.

Errors

Invalid or corrupt private forward handle, invalid or corrupt plugin handle, or invalid function.

Notes

Cannot be used during an incomplete call.