Initialize
CSSM_RETURN CSSMAPI Initialize
(uint32 VerMajor,
uint32 VerMinor)
This function checks whether the current version of the module is compatible with the CSSM version specified as input and performs any module-manager-specific setup activities.
- VerMajor (input)
The major version number of the CSSM that is invoking this module manager.
- VerMinor (input)
The minor version number of the CSSM that is invoking this module manager.
A CSSM_OK return value signifies that the current version of the module is compatible with the input CSSM version numbers and all setup operations were successfully performed. When CSSM_FAIL is returned, either the current module manager is incompatible with the requested module version or an error has occurred. Use CSSM_GetError to obtain the error code.
- CSSM_MANAGER_INITIALIZE_FAIL
Unable to initialize the module manager.
Terminate
Contents | Next section | Index |