1
.\" Copyright (C) 2005 International Business Machines Corporation
2
.\" Written by Kent Yoder based on the Trusted Computing Group Software Stack Specification Version 1.1 Golden
12
.de Sp \" Vertical space (when we can't use .PP)
18
.ie \\n(.$>=3 .ne \\$3
22
.TH "Tspi_Context_Create" 3 "2004-05-26" "TSS 1.1" "TCG Software Stack Developer's Reference"
24
Tspi_Context_Create \- create a TSP context handle.
29
.B #include <tss/platform.h>
30
.B #include <tss/tcpa_defines.h>
31
.B #include <tss/tcpa_typedef.h>
32
.B #include <tss/tcpa_struct.h>
33
.B #include <tss/tss_typedef.h>
34
.B #include <tss/tss_structs.h>
35
.B #include <tss/tspi.h>
37
.BI "TSS_RESULT Tspi_Context_Create(TSS_HCONTEXT* " phContext ");"
44
\fBTspi_Context_Create\fR creates a handle to a new context object. The context is then used by other API functions to track resources related to it.
48
Receives the handle to the created context object.
52
\fBTspi_Context_Create\fR returns TSS_SUCCESS on success, otherwise one of the following values are returned:
54
.SM TSS_E_INTERNAL_ERROR - An internal error occurred in the TSS.
59
\fBTspi_Context_Create\fR conforms to the Trusted Computing Group Software Specification version 1.1 Golden
63
\fBTspi_Context_Close\fR(3), \fBTspi_Context_Connect\fR(3).