CSSM_SetContext
CSSM_RETURN CSSMAPI CSSM_SetContext
(CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT_PTR Context)
This function replaces the context information associated with an existing context handle with the new context information supplied in Context. Before replacing the context, this function queries the provider associated with the context, to make sure the services requested from it are available in the provider.
- CCHandle (input)
The handle to the context.
- Context (input)
The context data describing the service to replace the current service associated with context handle CCHandle.
A CSSM return value. This function returns CSSM_OK if successful, and returns an error code if an error has occurred.
- CSSM__INVALID_CONTEXT_HANDLE
Invalid context handle.
- CSSM__INVALID_CONTEXT_POINTER
Invalid context pointer.
- CSSM__MEMORY_ERROR
Internal Memory Error.
CSSM_GetContext
Contents | Next section | Index |