CSSM_RETURN CSSMAPI CSSM_DestroyError (void)
This function destroys the error information for a thread/process and frees any necessary memory. It should be called by the function performing clean up before a thread/process exits.
CSSM_OK if the error information was successfully destroyed. If CSSM_FAIL is returned, no error information will be available.
- CSSM_DestroyError does not need to be called if you have loaded the CSSM DLL.