1Tspi_TPM_SetStatus(3) Library Functions Manual Tspi_TPM_SetStatus(3)
2
3
4
5 TCG Software Stack Developer's Reference
6
8 Tspi_TPM_SetStatus - modify 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_SetStatus(TSS_HTPM hTPM, TSS_FLAG statusFlag,
20 TSS_BOOL fTpmState);
21
22
23
25 Tspi_TPM_SetStatus alters the status of the TPM. Depending on the cho‐
26 sen statusFlag, fTpmState may or may not be ignored. This command re‐
27 quires that the TPM be on and the handle to the TPM available. This
28 command is not currently implemented.
29
30
32 hTPM
33 The hTPM parameter is used to specify the handle of the TPM object.
34
35 statusFlag
36 The statusFlag parameter is what the TPM status should be set to.
37
38 fTpmState
39 The fTpmState parameter is the status value to set. For some states,
40 this flag is ignored.
41
42
44 Tspi_TPM_SetStatus returns TSS_SUCCESS on success, otherwise one of the
45 following values is returned:
46
47 TSS_E_INVALID_HANDLE
48 hTPM is not a valid handle.
49
50
51 TSS_E_INTERNAL_ERROR
52 An internal SW error has been detected.
53
54
55 TSS_E_BAD_PARAMETER
56 One or more parameters is bad.
57
58
60 Tspi_TPM_SetStatus conforms to the Trusted Computing Group Software
61 Specification version 1.1 Golden
62
63
65 Tspi_TPM_GetStatus(3), Tspi_TPM_GetCapability(3).
66
67
68
69
70TSS 1.1 2004-05-25 Tspi_TPM_SetStatus(3)