CSSM_FreeModuleInfo

Purpose

This function frees the memory allocated by CSSM_GetModuleInfo to hold the module info structures. All substructures within the information structure are freed by this function.

Format

CSSM_RETURN CSSMAPI CSSM_FreeModuleInfo (CSSM_MODULE_INFO_PTR ModuleInfo)

Parameters

Input
ModuleInfo
A pointer to the CSSM_MODULE_INFO structure to be freed.

Return Value

This function returns CSSM_OK if successful, and returns CSSM_FAIL if an error has occurred. Use CSSM_GetError to determine the exact error.

Related Information

CSSM_GetModuleInfo
CSSM_SetModuleInfo