RemoveFromForward Function

Removes a function from a private forward's call list.

bool RemoveFromForward(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 remove from forward.

Return Value

True on success, false otherwise.

Errors

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

Notes

Only removes one instance.

Functions will be removed automatically if their parent plugin is unloaded.