HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > CDSA API FunctionsCSSM_ModuleUnload
SYNOPSIS# include <cssm.h>
PARAMETERS
DESCRIPTIONThe function deregisters event notification callbacks for the caller identified by ModuleGuid. The CSSM_ModuleUnload() function is the analog call to CSSM_ModuleLoad(). If all callbacks registered with CSSM are removed, then CSSM unloads the service module that was loaded by calls to CSSM_ModuleLoad(). Calls to CSSM_ModuleUnload() that are not matched with a previous call to CSSM_ModuleLoad() result in an error. The CSSM uses the three input parameters ModuleGuid, AppNotifyCallback, and AppNotifyCallbackCtx to uniquely identify registered callbacks. This function should be invoked after all necessary calls to CSSM_ModuleDetach() have been performed. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition. |