D3DKMT_REGISTERTRIMNOTIFICATION structure (d3dkmthk.h)

D3DKMT_REGISTERTRIMNOTIFICATION is used with D3DKMTRegisterTrimNotification to register a callback for a kernel mode device for notifications from a graphics framework (such as OpenGL).

Syntax

typedef struct _D3DKMT_REGISTERTRIMNOTIFICATION {
  [in]  LUID                               AdapterLuid;
  [in]  D3DKMT_HANDLE                      hDevice;
  [in]  PFND3DKMT_TRIMNOTIFICATIONCALLBACK Callback;
  [in]  VOID                               *Context;
  [out] VOID                               *Handle;
} D3DKMT_REGISTERTRIMNOTIFICATION;

Members

[in] AdapterLuid

Luid of the adapter which the device created.

[in] hDevice

Device to trim the residency list for.

[in] Callback

Pointer to the callback function.

[in] Context

Caller-supplied context for callback.

[out] Handle

Handle that will be used to unregister the callback with D3DKMTUnregisterTrimNotification.

Requirements

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

See also

D3DKMTRegisterTrimNotification

D3DKMTUnregisterTrimNotification