1Tspi_TPM_GetStatus(3) Library Functions Manual Tspi_TPM_GetStatus(3)
2
3
4
5 TCG Software Stack Developer's Reference
6
8 Tspi_TPM_GetStatus - query the TPM's status
9
11 #include <tss/platform.h>
12 #include <tss/tcpa_defines.h>
13 #include <tss/tcpa_typedef.h>
14 #include <tss/tcpa_struct.h>
15 #include <tss/tss_typedef.h>
16 #include <tss/tss_structs.h>
17 #include <tss/tspi.h>
18
19 TSS_RESULT Tspi_TPM_GetStatus(TSS_HTPM hTPM, TSS_FLAG statusFlag, BOOL* pfTpmState);
20
21
22
24 Tspi_TPM_GetStatus queries the status of the TPM, returning a specific
25 status based on the flags specified. This command is not currently im‐
26 plemented.
27
28
30 hTPM
31 The hTPM parameter is used to specify the handle of the TPM object.
32
33 statusFlag
34 The statusFlag parameter is the status to be retrieved.
35
36 fTpmState
37 The pfTpmState parameter is a pointer to the value of the status
38 queried.
39
40
42 Tspi_TPM_GetStatus returns TSS_SUCCESS on success, otherwise one of the
43 following values is returned:
44
45 TSS_E_INVALID_HANDLE
46 hTPM is not a valid handle.
47
48
49 TSS_E_INTERNAL_ERROR
50 An internal SW error has been detected.
51
52
53 TSS_E_BAD_PARAMETER
54 One or more parameters is bad.
55
56
58 Tspi_TPM_GetStatus conforms to the Trusted Computing Group Software
59 Specification version 1.1 Golden
60
61
63 Tspi_TPM_SetStatus(3), Tspi_TPM_GetCapability(3).
64
65
66
67
68TSS 1.1 2004-05-25 Tspi_TPM_GetStatus(3)