CSSM_SetError
CSSM_RETURN CSSMAPI CSSM_SetError
(CSSM_GUID_PTR guid,
uint32 error_number)
This function sets the current error information to error_number and guid.
- guid (input)
Pointer to the GUID (global unique ID) of the add-in module.
- error_number (input)
An error number. It should fall within one of the valid CSSM, CL, TP, DL, or CSP error ranges.
CSSM_OK if error was successfully set. A return value of CSSM_FAIL indicates that the error number passed is not within a valid range, the GUID passed is invalid, CSSM_InitError was not called, or CSSM_DestroyError has been called. No error information is available.
CSSM_InitError, CSSM_DestroyError, CSSM_ClearError, CSSM_GetError
Contents | Next section | Index |