Zen API
|
kStatus kAssembly_AddUnloadHandler | ( | kCallbackFx | function, |
kPointer | receiver | ||
) |
Adds a callback to be notified just prior to unloading an assembly.
The callback will be notified just prior to unloading the assembly. The callback 'sender' argument will be the handle of the assembly that is being unloaded.
The static assembly lock (an internal, recursive, mutual exclusion structure) is held for the duration of callback invocation. Callback functions should be structured accordingly to avoid the potential for deadlock.
function | Callback function. |
receiver | Context pointer for callback function. |