Expand Minimize

D3DDDI_FLUSH_FLAGS enumeration

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  = 0x00000002
} D3DDDI_FLUSH_FLAGS;

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

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

D3dmddi.h (include D3dumddi.h)

See also

pfnFlush1

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft