1Tspi_TPM_GetEvents(3T)CG Software Stack Developer's ReferencTespi_TPM_GetEvents(3)
2
3
4

NAME

6       Tspi_TPM_GetEvents-  get  a  specific  number of PCR events for a given
7       index.
8

SYNOPSIS

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_GetEvents(TSS_HTPM       hTPM,            UINT32  ulPcrIndex,
19                                     UINT32         ulStartNumber,   UINT32* pulEventNumber,
20                                     TSS_PCR_EVENT* prgbPcrEvents);
21
22
23

DESCRIPTION

25       Tspi_TPM_GetEvents provides a specific number of PCR events for a given
26       index.
27

PARAMETERS

29   hTPM
30       Handle of the TPM object.
31
32   ulPcrIndex
33       Index of the PCR to request.
34
35   ulStartNumber
36       Indext of the first event to request
37
38   pulEventNumber
39       [IN]  Number of elements to request.  [OUT] Receives number of returned
40       event data structures in prgbPcrEvents parameter.
41
42   prgbPcrEvents
43       Receives a pointer to an array of PCR event data.  If  NULL,  only  the
44       number of elements is returned in pulEventNumber parameter.
45

RETURN CODES

47       Tspi_TPM_GetEvents returns TSS_SUCCESS on success, otherwise one of the
48       following values are returned:
49
50       TSS_E_INVALID_HANDLE
51              hTPM is not a valid handle to the TPM object.
52
53       TSS_E_INTERNAL_ERROR
54              An error occurred internal to the TSS.
55
56

CONFORMING TO

58       Tspi_TPM_GetEvents conforms to the  Trusted  Computing  Group  Software
59       Specification version 1.1 Golden
60

SEE ALSO

62       Tspi_TPM_GetEvent(3) Tspi_TPM_GetEventLog(3).
63
64
65
66
67
68
69TSS 1.1                           2004-05-26             Tspi_TPM_GetEvents(3)
Impressum