Initialize
CSSM_RETURN CSSMAPI Initialize
(CSSM_MODULE_HANDLE Handle,
uint32 VerMajor,
uint32 VerMinor)
This function checks whether the current version of the module is compatible with the input version and performs any module-specific setup activities.
- Handle (input)
The handle that identifies the module to application thread pairing.
- VerMajor (input)
The major version number of the module expected by the calling application.
- VerMinor (input)
The minor version number of the module expected by the calling application.
A CSSM_OK return value signifies that the current version of the module is compatible with the input version numbers and all setup operations were successfully performed. When CSSM_FAIL is returned, either the current module is incompatible with the requested module version or an error has occurred. Use CSSM_GetError to obtain the error code.
- CSSM_DL_INITIALIZE_FAIL
Unable to initialize the DL module.
Terminate, EventNotify
Contents | Next section | Index |