CSSM_FreeInfo
CSSM_RETURN CSSMAPI CSSM_FreeInfo
(const CSSM_CSSMINFO_PTR CssmInfo,
const CSSM_MEMORY_FUNCS_PTR MemoryFunctions,
uint32 NumCssmInfos)
This function frees the memory containing the version information of all the CSSM instances installed/registered on the local system. Memory to de-allocated using the memory deallocation function.
- CssmInfo (input)
A CSSM_INFO_PTR referencing a list of Info structures allocated by the CSSM_GetInfo function.
- MemoryFunctions (input)
A table of API_MEMORY_FUNCTION pointers for use by CSSM. CSSM uses the memory de-allocation function to release memory holding CSSM information structures.
- NumCSSMInfos (input)
The number of CSSM information structures contained in the list.
A CSSM_OK return value signifies the CSSM_INFO structures have been successfully de-allocated. When CSSM_FAIL is returned, an error occurred. Use CSSM_GetError to obtain the error code.
- CSSM_MEMORY_ERROR
Error in de-allocating memory.
- CSSM_INVALID_POINTER
Invalid pointer.
CSSM_FreeInfo, CSSM_Load
Contents | Next section | Index |