Zen API
|
kStatus kAssembly_AddLoadHandler | ( | kCallbackFx | function, |
kPointer | receiver | ||
) |
Adds a callback to be notified when a new assembly is loaded.
The callback will be notified immediately after the assembly is loaded. The callback 'sender' argument will be the handle of the loaded assembly.
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. |