Condividi tramite


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

Hosting Enumerations