D3DKMT_REGISTERTRIMNOTIFICATION structure

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 {
  LUID                               AdapterLuid;
  D3DKMT_HANDLE                      hDevice;
  PFND3DKMT_TRIMNOTIFICATIONCALLBACK Callback;
  VOID                               *Context;
  VOID                               *Handle;
} D3DKMT_REGISTERTRIMNOTIFICATION;

Members

AdapterLuid

[in] Luid of the adapter which the device created.

hDevice

[in] Device to trim the residency list for.

Callback

[in] Pointer to the callback function.

Context

[in] Caller-supplied context for callback.

Handle

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

Requirements

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

See Also

D3DKMTRegisterTrimNotification

D3DKMTUnregisterTrimNotification