HEAP_OPTIMIZE_RESOURCES_INFORMATION structure (winnt.h)

Specifies flags for a HeapOptimizeResources operation initiated with HeapSetInformation.

Syntax

typedef struct _HEAP_OPTIMIZE_RESOURCES_INFORMATION {
  DWORD Version;
  DWORD Flags;
} HEAP_OPTIMIZE_RESOURCES_INFORMATION, *PHEAP_OPTIMIZE_RESOURCES_INFORMATION;

Members

Version

Flags

Remarks

Mandatory parameter to the HeapOptimizeResources class.

The HEAP_OPTIMIZE_RESOURCES_CURRENT_VERSION constant is available to fill in the Version field of the HEAP_OPTIMIZE_RESOURCES_INFORMATION structure. The only legal value for this field is currently 1.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Header winnt.h (include Windows.h)

See also

Memory Management Structures

PrefetchVirtualMemory