skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API FunctionsAPI Functions
go to previous page: cssm_GetAttachFunctionscssm_GetAttachFunctions
go to next page: CSSM_GetContextAttributeCSSM_GetContextAttribute
end of book navigation links


CSSM_GetContext
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CSSM_GetContext - Get context information (CDSA)

SYNOPSIS  

# include <cssm.h>

CSSM_RETURN CSSMAPI CSSM_GetContext(CSSM_CC_HANDLE CCHandle,CSSM_CONTEXT_PTR *Context)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

CCHandle (input)
 The handle to the context information.
Context (output)
 The pointer to the CSSM_CONTEXT_PTR structure thatdescribes the context associated with the CCHandle handle.The pointer will be set to NULL if the function fails. Use CSSM_FreeContext() to free the memory allocated by the CSSM.


return to top DESCRIPTION  

This function retrieves the context information when providedwith a context handle.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.
CSSMERR_CSSM_INVALID_CONTEXT_HANDLE


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_FreeContext, CSSM_SetContext


go to previous page: cssm_GetAttachFunctionscssm_GetAttachFunctions
go to next page: CSSM_GetContextAttributeCSSM_GetContextAttribute