Previous section.

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

NAME

CSSM_CompareGuids

SYNOPSIS

CSSM_BOOL CSSMAPI CSSM_CompareGuids
    (CSSM_GUID guid1,
    CSSM_GUID guid2)

DESCRIPTION

This function determines if two GUIDs are equal.

PARAMETERS

guid1 (input)

A GUID.

guid1 (input)

A GUID.

RETURN VALUE

CSSM_TRUE if the two GUIDs are equal, CSSM_FALSE otherwise.
Note:
GUIDs are returned in the error information of CSSM_GetError. Once you know which type of error is returned (CSP, CL, TP, DL), you can call CSSM_XX_ListModules to get a list of all the modules that are registered and their GUIDs, in order to determine which module set the error. This can be useful for debugging purposes if there is more than one type of module for each add-in type installed on the system.

SEE ALSO

CSSM_GetError, CSSM_CSP_ListModules, CSSM_CL_ListModules,
CSSM_TP_ListModules, CSSM_DL_ListModules.

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