D3DKMT_TRIMNOTIFICATION structure

D3DKMT_TRIMNOTIFICATION is used to notify a driver to trim its memory residency list.

Syntax

typedef struct _D3DKMT_TRIMNOTIFICATION {
  VOID                          *Context;
  D3DDDI_TRIMRESIDENCYSET_FLAGS Flags;
  UINT64                        NumBytesToTrim;
} D3DKMT_TRIMNOTIFICATION;

Members

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.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmthk.h (include D3dkmthk.h)

See Also

D3DDDI_TRIMRESIDENCYSET_FLAGS