1Tspi_TPM_GetEvent(3)TCG Software Stack Developer's ReferenceTspi_TPM_GetEvent(3)
2
3
4
6 Tspi_TPM_GetEvent- get a PCR event for a given PCR index and event num‐
7 ber.
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_TPM_GetEvent(TSS_HTPM hTPM, UINT32 ulPcrIndex,
19 UINT32 ulEventNumber, TSS_PCR_EVENT* pPcrEvent);
20
21
22
24 Tspi_TPM_GetEvent provides a PCR event for a given PCR index and event
25 number.
26
28 hTPM
29 Handle of the TPM object.
30
31 ulPcrIndex
32 Index of the PCR to request.
33
34 ulEventNumber
35 Index of the event to request.
36
37 pPcrEvent
38 Receives the PCR event data.
39
41 Tspi_TPM_GetEvent returns TSS_SUCCESS on success, otherwise one of the
42 following values are returned:
43
44 TSS_E_INVALID_HANDLE
45 hTPM is not a valid handle to the TPM object.
46
47 TSS_E_INTERNAL_ERROR
48 An error occurred internal to the TSS.
49
50
52 Tspi_TPM_GetEvent conforms to the Trusted Computing Group Software
53 Specification version 1.1 Golden
54
56 Tspi_TPM_GetEvents(3) Tspi_TPM_GetEventLog(3).
57
58
59
60
61
62
63TSS 1.1 2004-05-26 Tspi_TPM_GetEvent(3)