Share via


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 Win32 API.

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 .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Hosting Enumerations