NAME CSSM_SPI_ModuleDetach - Notify service module of a context event (CDSA) SYNOPSIS # include <cssm.h> CSSM_RETURN CSSMSPI CSSM_SPI_ModuleDetach (CSSM_MODULE_HANDLE ModuleHandle) LIBRARY Common Security Services Manager library (CDSA$INCSSM300_SHR.EXE) PARAMETERS ModuleHandle (input) The CSSM_HANDLE value associated with the attach session being terminated by this function. DESCRIPTION This function is invoked by CSSM once for each invocation of CSSM_ModuleDetach() specifying the attach-session identified by ModuleHandle. The function entry point for CSSM_SPI_ModuleDetach is included in the module function table CSSM_MODULE_FUNCS returned to CSSM as output of a successful CSSM_SPI_ModuleAttach. The service module must perform all cleanup operations associated with the specified attach handle. RETURN VALUE A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition. ERRORS Errors are described in the CDSA technical standard. See CDSA. SEE ALSO Books Intel CDSA Application Developer's Guide (see CDSA) Other Help Topics Functions: CSSM_SPI_ModuleAttach CSSM_SPI_ModuleUnload