1Tspi_Context_Create(T3C)G Software Stack Developer's ReferenTcsepi_Context_Create(3)
2
3
4
6 Tspi_Context_Create - create a TSP context handle.
7
9 #include <tss/platform.h>
10 #include <tss/tcpa_defines.h>
11 #include <tss/tcpa_typedef.h>
12 #include <tss/tcpa_struct.h>
13 #include <tss/tss_typedef.h>
14 #include <tss/tss_structs.h>
15 #include <tss/tspi.h>
16
17 TSS_RESULT Tspi_Context_Create(TSS_HCONTEXT* phContext);
18
19
21 Tspi_Context_Create creates a handle to a new context object. The con‐
22 text is then used by other API functions to track resources related to
23 it.
24
26 phContext
27 Receives the handle to the created context object.
28
29
31 Tspi_Context_Create returns TSS_SUCCESS on success, otherwise one of
32 the following values are returned:
33
34 TSS_E_INTERNAL_ERROR - An internal error occurred in the TSS.
35
36
38 Tspi_Context_Create conforms to the Trusted Computing Group Software
39 Specification version 1.1 Golden
40
42 Tspi_Context_Close(3), Tspi_Context_Connect(3).
43
44
45
46
47
48
49TSS 1.1 2004-05-26 Tspi_Context_Create(3)