Previous section.

Common Security: CDSA and CSSM
Copyright © 1997 The Open Group

NAME

CSSM_SetError

SYNOPSIS

CSSM_RETURN CSSMAPI CSSM_SetError
    (CSSM_GUID_PTR guid,
    uint32 error_number)

DESCRIPTION

This function sets the current error information to error_number and guid.

PARAMETERS

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.

RETURN VALUE

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.

SEE ALSO

CSSM_InitError, CSSM_DestroyError,
CSSM_ClearError, CSSM_GetError

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.
You should also read the legal notice explaining the terms and conditions relating to the CDSA documentation.

Contents Next section Index