SOM Kernel Reference 1-41
SOMDeleteModule Function
Purpose
Unloads a dynamically linked library (DLL).
Syntax
int (*SOMDeleteModule) (somToken modHandle);
Description
The SOMDeleteModule function unloads the specified dynamically linked library (DLL).
This routine is called by the SOM Class Manager to unload DLLs. SOMDeleteModule can
be replaced (thus changing the way the Class Manager unloads DLLS) by changing the
value of the global variable SOMDeleteModule.
Parameters
modHandle The somToken for the DLL to be unloaded. This token is supplied by the
SOMLoadModule function when it loads the DLL.
Return Value
Returns 0 if successful or a non-zero system-specific error code otherwise.
Related Information
Functions: SOMLoadModule, SOMClassInitFuncName
Data Structures: somToken (somapi.h)
Kommentare zu diesen Handbüchern