1Tspi_Context_Close(3T)CG Software Stack Developer's ReferencTespi_Context_Close(3)
2
3
4
6 Tspi_Context_Close - destroy 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_Close(TSS_HCONTEXT hLocalContext);
18
19
21 Tspi_Context_Close destroys a context by passing in the handle to that
22 context.
23
25 hLocalContext
26 The handle to the context to be closed.
27
28
30 Tspi_Context_Close returns TSS_SUCCESS on success, otherwise one of the
31 following values are returned:
32
33 TSS_E_INVALID_HANDLE - hLocalContext is an invalid handle.
34
35 TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
36
37
39 Tspi_Context_Close conforms to the Trusted Computing Group Software
40 Specification version 1.1 Golden
41
43 Tspi_Context_Create(3), Tspi_Context_Connect(3).
44
45
46
47
48
49
50TSS 1.1 2004-05-26 Tspi_Context_Close(3)