#ifndef _NTEXAPI_H
#if defined(SYSTEM_RUNTIME_REPORT)
/**
* The DRIVER_RUNTIME_REPORT structure describes the driver runtime report.
*/
typedef struct _DRIVER_RUNTIME_REPORT
{
//
// The driver runtime report header.
//
RUNTIME_REPORT_HEADER Header;
//
// The current number of unique drivers in the report.
//
USHORT NumberOfDrivers;
//
// Flags indicating various properties of the report:
// - ReportOverflowed - Secure Kernel places a limit on the number of
// drivers it can list in the report. If this is set, it indicates
// that some loaded drivers might be missing from the report.
//
// - PartialReport - Indicates whether the report contains only a
// subset of NT loaded drivers.
//
// - IncludeBootDrivers - Set to 1 in case the report includes
// boot-loaded drivers; 0 otherwise (in that case the information
// is stored in the TCG Log).
//
// - Reserved - Reserved flags bits.
//
union
{
struct
{
USHORT ReportOverflowed : 1;
USHORT PartialReport : 1;
USHORT IncludeBootDrivers : 1;
USHORT Reserved : 13;
} DUMMYSTRUCTNAME;
USHORT AsUInt16;
} Flags;
//
// A list, of size zero up to MaximumDriversRecorded, containing driver entries.
// Unloaded drivers are not removed from the list.
//
DRIVER_INFO_ENTRY DriverEntries[ANYSIZE_ARRAY];
//
// After the driver info array the driver runtime report store hashes,
// strings and information that are dynamic in size.
//
// BYTE DynamicBuffer[ANYSIZE_ARRAY];
//
// The dynamic buffer, for each driver is composed off:
// ImageHash - PublisherHash - OemName.
//
} DRIVER_RUNTIME_REPORT, *PDRIVER_RUNTIME_REPORT;
View code on GitHubNo description available.