RemoveAllFromForward Function

Removes all instances of a plugin from a private forward's call list.

int RemoveAllFromForward(Handle fwd, Handle plugin)

Parameters

Handle fwd

Handle to private forward.

Handle plugin

Handle of the plugin to remove instances of. Pass INVALID_HANDLE to specify the calling plugin.

Return Value

Number of functions removed from forward.

Errors

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

Notes

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