NPA_Unload_Module_Check
Determines if a module can be cleanly unloaded, meaning that no applications are currently using devices it controls.
LONG NPA_Unload_Module_Check ( LONG npaHandle, LONG novellAssignedModuleID, LONG screenID );
The following table lists return values and descriptions.
The purpose of NPA_Unload_Module_Check is to determine if the module can be cleanly unloaded without losing any current I/O processes and to determine if an application is currently using any devices controlled by the module
A CDM or HAM should call this API within the context of their respective unload-time entry points, CDM_Unload_Check and HAM_Unload_Check respectively. The OS calls these entry points when the UNLOAD command is issued on the CDM or HAM from the command line.