CSSM_GetContext
CSSM_CONTEXT_PTR CSSMAPI CSSM_GetContext
(CSSM_CC_HANDLE CCHandle)
This function retrieves the context information when provided with a context handle.
- CCHandle (input)
The handle to the context information.
The pointer to the CSSM_CONTEXT structure that describes the context associated with the handle CCHandle. If the pointer is NULL, an error has occurred. Use CSSM_GetError to obtain the error code. Call CSSM_FreeContext to free the memory allocated by the CSSM.
- CSSM__INVALID_CONTEXT_HANDLE
Invalid context handle.
- CSSM__MEMORY_ERROR
Unable to allocate memory.
- CSSM__MEMORY_ERROR
Internal Memory Error.
CSSM_SetContext, CSSM_FreeContext
Contents | Next section | Index |