Returns a structure that contains the total available memory for the tooling working set, the amount of memory already in use, and the peak memory usage.
BOOL ToolingMemoryStatus(
LPTOOLINGMEMORYSTATUS Buffer
)
Buffer
Type: LPTOOLINGMEMORYSTATUS
[in, out] Receives a reference to a TOOLINGMEMORYSTATUS structure that contains information about the available memory for the tooling working set, the amount of memory already in use, and the peak memory usage.
Important You must set the dwLength field of the TOOLINGMEMORYSTATUS structure to the size of the structure before calling ToolingMemoryStatus.
Type: BOOL
Returns true on success, or false otherwise.
ToolingMemoryStatus can be used in applications such as tools that perform custom memory management. Calls to ToolingMemoryStatus can help detect and debug memory leaks while minimizing impact on the title’s memory.
Header: Declared in winbase.h.
Library: Use kernelx.lib.