CSSM_RETURN CSSMAPI CSSM_Init (const CSSM_VERSION_PTR Version, const void * Reserved)
This function initializes CSSM and verifies that the version of CSSM expected by the application is compatible with the version of CSSM on the system. This function should be called once by each application.
- Version (input)
The major and minor version number of the CSSM release the application is compatible with.
- Reserved (input)
A reserved input.
A CSSM_OK return value signifies the initialization operation was successful. When CSSM_FAIL is returned, an error has occurred. Use CSSM_GetError to obtain the error code.