1Tspi_Context_GetCapaTbCiGliStoyf(t3w)are Stack Developer'sTRsepfie_rCeonncteext_GetCapability(3)
2
3
4
6 Tspi_Context_GetCapability - provide the capabilites of a TSS Core Ser‐
7 vice, TSS Service Provider, or TPM.
8
10 #include <tss/platform.h>
11 #include <tss/tcpa_defines.h>
12 #include <tss/tcpa_typedef.h>
13 #include <tss/tcpa_struct.h>
14 #include <tss/tss_typedef.h>
15 #include <tss/tss_structs.h>
16 #include <tss/tspi.h>
17
18 TSS_RESULT Tspi_Context_GetCapability(TSS_HCONTEXT hContext, TSS_FLAG capArea,
19 UINT32 ulSubCapLength, BYTE* rgbSubCap,
20 UINT32* pulRespDataLength, BYTE** prgbRespData);
21
22
23
25 TSS_Context_GetCapability provides the capabilities of the TSS Core
26 Service or TSS Service Provider
27
29 hContext
30 The handle of the context object.
31
32 capArea
33 Flag indicating the attribute to query.
34
35 ulSubCapLength
36 The length (in bytes) of the rgbSubCap parameter.
37
38 rgbSubCap
39 Data indicating the attribute to query.
40
41 pulRespDataLength
42 Recieves the length (in bytes) of the prgbRespData parameter.
43
44 prgbRespData
45 On successful completion of the command, this parameter points to a
46 buffer containing the actual data of the specified capability.
47
49 Tspi_Context_GetCapability returns TSS_SUCCESS on success, otherwise
50 one of the following values are returned:
51
52 TSS_E_INVALID_HANDLE - hContext is an invalid handle.
53
54 TSS_E_BAD_PARAMETER - One of the parameters did not match.
55
56 TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
57
59 Tspi_Context_GetCapability conforms to the Trusted Computing Group
60 Software Specification version 1.1 Golden
61
63 (none).
64
65
66
67TSS 1.1 2004-05-26 Tspi_Context_GetCapability(3)