D3DDDI_FLUSH_FLAGS enumeration (d3dumddi.h)

In calls to the pfnFlush1 function, indicates whether the driver should free as much memory as possible. Used by Windows Display Driver Model (WDDM) 1.3 and later user-mode display drivers.

Syntax

typedef enum D3DDDI_FLUSH_FLAGS {
  D3DDDI_TRIM_MEMORY
} ;

Constants

 
D3DDDI_TRIM_MEMORY
The driver should free as much memory as it can. However, it should not free any memory that the driver requires to continue operating. Using this constant value therefore should not introduce new opportunities to run out of memory.

The driver must no longer call Video memory offer and reclaim DDIs on the memory that it frees.

Supported starting with Windows 8.1.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Header d3dumddi.h (include D3dumddi.h)

See also

pfnFlush1