// d3dkmthk.h
typedef struct _D3DKMT_TRIMNOTIFICATION {
[in] VOID *Context;
[in] D3DDDI_TRIMRESIDENCYSET_FLAGS Flags;
[in] D3DKMT_ALIGN64 UINT64 NumBytesToTrim;
} D3DKMT_TRIMNOTIFICATION;
View the official Windows Driver Kit DDI referenceNo description available.
D3DKMT_TRIMNOTIFICATION is used to notify a driver to trim its memory residency list.
Context [in]The caller-supplied context for the callback notification.
Flags [in]A D3DDDI_TRIMRESIDENCYSET_FLAGS structure containing the trimming behavior flags.
NumBytesToTrim [in]When TrimToBudget is set, this value specifies how much the application should evict in order to meet its current memory budget.