// d3dumddi.h
typedef enum D3DDDI_FLUSH_FLAGS {
D3DDDI_TRIM_MEMORY
} ;
View the official Windows Driver Kit DDI referenceNo description available.
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.
D3DDDI_TRIM_MEMORYThe 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.