@@ -104,7 +104,7 @@ typedef enum _SYSTEM_INFORMATION_CLASS
104104 SystemRefTraceInformation , // qs: SYSTEM_REF_TRACE_INFORMATION // ObQueryRefTraceInformation
105105 SystemSpecialPoolInformation , // qs: SYSTEM_SPECIAL_POOL_INFORMATION (requires SeDebugPrivilege) // MmSpecialPoolTag, then MmSpecialPoolCatchOverruns != 0
106106 SystemProcessIdInformation , // q: SYSTEM_PROCESS_ID_INFORMATION
107- SystemErrorPortInformation , // s: (requires SeTcbPrivilege)
107+ SystemErrorPortInformation , // s: HANDLE (requires SeTcbPrivilege)
108108 SystemBootEnvironmentInformation , // q: SYSTEM_BOOT_ENVIRONMENT_INFORMATION // 90
109109 SystemHypervisorInformation , // q: SYSTEM_HYPERVISOR_QUERY_INFORMATION
110110 SystemVerifierInformationEx , // qs: SYSTEM_VERIFIER_INFORMATION_EX
@@ -269,7 +269,7 @@ typedef enum _SYSTEM_INFORMATION_CLASS
269269 SystemRefTraceInformationEx , // q: SYSTEM_REF_TRACE_INFORMATION_EX
270270 SystemBasicProcessInformation , // q: SYSTEM_BASICPROCESS_INFORMATION
271271 SystemHandleCountInformation , // q: SYSTEM_HANDLECOUNT_INFORMATION
272- SystemRuntimeAttestationReport , // q:
272+ SystemRuntimeAttestationReport , // q: SYSTEM_RUNTIME_REPORT_INPUT
273273 SystemPoolTagInformation2 , // q: SYSTEM_POOLTAG_INFORMATION2 // since 26H1
274274 MaxSystemInfoClass
275275} SYSTEM_INFORMATION_CLASS ;
@@ -2601,7 +2601,7 @@ typedef struct _SYSTEM_SECUREBOOT_POLICY_INFORMATION
26012601_Struct_size_bytes_ (NextEntryOffset )
26022602typedef struct _SYSTEM_PAGEFILE_INFORMATION_EX
26032603{
2604- union // HACK union declaration for convenience (dmex)
2604+ union // union declaration for convenience (dmex)
26052605 {
26062606 SYSTEM_PAGEFILE_INFORMATION Info ;
26072607 struct
@@ -3963,6 +3963,100 @@ typedef struct _SYSTEM_HANDLECOUNT_INFORMATION
39633963 ULONG HandleCount ;
39643964} SYSTEM_HANDLECOUNT_INFORMATION , * PSYSTEM_HANDLECOUNT_INFORMATION ;
39653965
3966+ //
3967+ // Code Integrity Report Definitions.
3968+ //
3969+
3970+ typedef struct _CODE_INTEGRITY_RUNTIME_REPORT
3971+ {
3972+ //
3973+ // The Code Integrity runtime report header.
3974+ //
3975+
3976+ RUNTIME_REPORT_HEADER Header ;
3977+
3978+ //
3979+ // The number of generations (updates) of policy there have been since boot.
3980+ // The initial generation at boot is 1.
3981+ //
3982+
3983+ UINT64 CurrentGeneration ;
3984+
3985+ //
3986+ // The number of generations of policy that are in this report. This is
3987+ // non-zero with the current generation reported first, followed by prior
3988+ // generations in order of ascending age.
3989+ //
3990+
3991+ ULONG NumberOfGenerations ;
3992+
3993+ } CODE_INTEGRITY_RUNTIME_REPORT ;
3994+
3995+ #define CODE_INTEGRITY_REPORT_GENERATION_VERSION_CURRENT (1)
3996+
3997+ typedef struct _CODE_INTEGRITY_REPORT_GENERATION_HEADER
3998+ {
3999+ //
4000+ // Version of this structure.
4001+ //
4002+
4003+ USHORT Version ;
4004+
4005+ //
4006+ // Reserved Field.
4007+ //
4008+
4009+ USHORT Reserved ;
4010+
4011+ //
4012+ // The number of bytes consumed by this generation, including this header
4013+ // and all CODE_INTEGRITY_REPORT_RECORD_HEADER structures and payloads.
4014+ //
4015+
4016+ ULONG RecordSize ;
4017+
4018+ //
4019+ // Secure Kernel / Hypervisor secure time reference when this policy was
4020+ // commited.
4021+ //
4022+
4023+ ULONG64 CommitTime ;
4024+
4025+ } CODE_INTEGRITY_REPORT_GENERATION_HEADER ;
4026+
4027+ #define CODE_INTEGRITY_REPORT_RECORD_VERSION_CURRENT (1)
4028+
4029+ typedef struct _CODE_INTEGRITY_REPORT_RECORD_HEADER
4030+ {
4031+ //
4032+ // Version of this structure.
4033+ //
4034+
4035+ USHORT Version ;
4036+
4037+ //
4038+ // Reserved Field.
4039+ //
4040+
4041+ USHORT Reserved ;
4042+
4043+ //
4044+ // The number of bytes consumed by this record, including this header.
4045+ //
4046+
4047+ ULONG RecordSize ;
4048+
4049+ //
4050+ // The event code (type) of this record. The same codes as the Measured
4051+ // Boot TCG Log are used, for example SIPAEVENT_OS_REVOCATION_LIST, and
4052+ // indicate the structure type of the payload that immediately follows
4053+ // this header.
4054+ //
4055+
4056+ ULONG SipaEventCode ;
4057+
4058+ } CODE_INTEGRITY_REPORT_RECORD_HEADER ;
4059+
39664060/**
39674061 * The SYSTEM_POOLTAG2 structure describes allocation statistics for a single
39684062 * pool tag, including paged and nonpaged usage.
0 commit comments