EMemoryAvailable Enumeration

Contains values that indicate the amount of free physical memory on the computer. These values logically map to the events for high and low memory returned from the CreateMemoryResourceNotification function in the Windows API.

Syntax

typedef enum {  
    eMemoryAvailableLow     = 1,  
    eMemoryAvailableNeutral = 2,  
    eMemoryAvailableHigh    = 3
} EMemoryAvailable;  

Members

Member Description
eMemoryAvailableHigh Plenty of physical memory is available.
eMemoryAvailableLow Very little physical memory is available.
eMemoryAvailableNeutral The available physical memory is neutral.

Remarks

This value is passed by the host to the common language runtime (CLR) by using a call to the ICLRMemoryNotificationCallback::OnMemoryNotification method.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also