TOOLINGMEMORYSTATUS Structure

Describes the total available memory for the tooling working set, the amount of memory already in use, and the peak memory usage.

Syntax

typedef struct _TOOLINGMEMORYSTATUS {
    DWORD dwLength;
    DWORD dwReserved;
    DWORDLONG ullTotalMem;
    DWORDLONG ullAvailMem;
    DWORDLONG ullPeakUsage;
    DWORDLONG ullPageTableUsage;
} TOOLINGMEMORYSTATUS, *PTOOLINGMEMORYSTATUS, *LPTOOLINGMEMORYSTATUS;  

Members

dwLength
Set this value to sizeof(TOOLINGMEMORYSTATUS) before calling ToolingMemoryStatus.

dwReserved
Reserved, must be zero.

ullTotalMem
Total amount of tooling memory, in bytes.

ullAvailMem
Total amount of avaiable (free) tooling memory, in bytes.

ullPeakUsage
Peak usage of tooling memory; the maxiumum amount of memory that has been allocated so far, in bytes.

ullPageTableUsage
The amount of memory currently allocated for CPU page tables in the tooling working set, in bytes.

Requirements

Header: Declared in winbase.h.

See also

ToolingMemoryStatus