NPA_Unregister_Module
Deregisters all instances of an NWPA module.
LONG NPA_Unregister_Module ( LONG npaHandle, LONG novellAssignedModuleID );
The following table lists return values and descriptions.
NPA_Unregister_Module is used to deregister the CDM or HAM, along with its respective entry points, from NWPA. The intent of this function is prepare the module for having its code image removed from server memory. NPA_Unregister_Module should be called within the context of the module's exit function (CDM_Unload or HAM_Unload).
WARNING:NPA_Unregister_Module will deregister all instances of this module and abort all pending I/O for this HAM. If other instances are to remain active, do not call this function. Call Instance Unload to unload a single instance (see Section 3.12, Instance Unload for HAMs).