#ifndef _NTPSAPI_H
// Process information structures
#if (PHNT_MODE != PHNT_MODE_KERNEL)
typedef struct _POOLED_USAGE_AND_LIMITS
{
SIZE_T PeakPagedPoolUsage;
SIZE_T PagedPoolUsage;
SIZE_T PagedPoolLimit;
SIZE_T PeakNonPagedPoolUsage;
SIZE_T NonPagedPoolUsage;
SIZE_T NonPagedPoolLimit;
SIZE_T PeakPagefileUsage;
SIZE_T PagefileUsage;
SIZE_T PagefileLimit;
} POOLED_USAGE_AND_LIMITS, *PPOOLED_USAGE_AND_LIMITS;
View code on GitHub
This structure describes the kernel pool memory usage and limits for the process.
NtQueryInformationProcess
with ProcessPooledUsageAndLimits
(14)The historical highest size of the paged pool charge in bytes.
The current size of the paged pool charge in bytes.
The paged pool quota size in bytes.
The historical highest size of the non-paged pool charge in bytes.
The current size of the non-paged pool charge in bytes.
The non-paged pool quota size in bytes.
The historical highest usage in bytes of the pagefiles.
The current usage in bytes of the pagefiles.
The pagefile quota size in bytes.