#ifndef _NTEXAPI_H
// rev
typedef struct _ST_STATS
{
ULONG Version : 8; // SYSTEM_STORE_STATS_INFORMATION_VERSION
ULONG Level : 4; // ST_STATS_LEVEL
ULONG StoreType : 4; // SM_STORE_TYPE
ULONG NoDuplication : 1;
ULONG NoCompression : 1;
ULONG EncryptionStrength : 12;
ULONG VirtualRegions : 1;
ULONG Spare0 : 1;
ULONG Size; // total bytes returned in the caller-supplied stats buffer
USHORT CompressionFormat;
USHORT Spare;
struct
{
ULONG RegionSize;
ULONG RegionCount;
ULONG RegionCountMax;
ULONG Granularity;
ST_DATA_MGR_STATS UserData;
ST_DATA_MGR_STATS Metadata;
} Basic; // present for StStatsLevelBasic and higher
struct
{
ST_IO_STATS IoStats;
ST_READ_LATENCY_STATS ReadLatencyStats;
} Io; // present for StStatsLevelIoStats and higher
// For StStatsLevelRegionSpace, variable-length ST_STATS_REGION_INFO[Basic.RegionCountMax] follows.
// For StStatsLevelSpaceBitmap, ST_STATS_SPACE_BITMAP follows after the fixed header.
} ST_STATS, *PST_STATS;
View code on GitHubNo description available.