Previous section.

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

NAME

Initialize

SYNOPSIS

CSSM_RETURN CSSMAPI Initialize
    (CSSM_MODULE_HANDLE Handle,
    uint32 VerMajor,
    uint32 VerMinor)

DESCRIPTION

This function checks whether the current version of the module is compatible with the input version and performs any module-specific setup activities.

PARAMETERS

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.

RETURN VALUE

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.

ERRORS

CSSM_DL_INITIALIZE_FAIL

Unable to initialize the DL module.

SEE ALSO

Terminate, EventNotify

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