#ifndef _NTPFAPI_H
/**
* The PF_TRIM_WHILE_AGING_CONTROL_3 structure sets trim-while-aging policy and optional custom thresholds.
*/
typedef struct _PF_TRIM_WHILE_AGING_CONTROL_3
{
ULONG Version; // PF_TRIM_WHILE_AGING_CONTROL_VERSION_3
PF_TRIM_WHILE_AGING_STATE TrimWhileAgingState; // Policy selector, 0..5; custom thresholds apply only to state 5.
UCHAR PrivatePageTrimAge; // 0..7.
UCHAR SharedPageTrimAge; // 0..7.
USHORT Spare; // Must be zero.
ULONG Reserved; // Reserved field; initialize to zero and do not interpret on output.
SIZE_T CustomHighThreshold; // Custom: nonzero and greater than CustomLowThreshold.
SIZE_T CustomLowThreshold; // Both thresholds must be zero for states 0..4.
} PF_TRIM_WHILE_AGING_CONTROL_3, *PPF_TRIM_WHILE_AGING_CONTROL_3;
View code on GitHubNo description available.