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;
  void                               D3DKMT_PTR(
    VOID    *unnamedParam1,
    Context unnamedParam2
  );
  void                               D3DKMT_PTR(
    VOID   *unnamedParam1,
    Handle unnamedParam2
  );
} 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.

void D3DKMT_PTR( VOID *unnamedParam1, Context unnamedParam2)

void D3DKMT_PTR( VOID *unnamedParam1, Handle unnamedParam2)

Requirements

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

See also

D3DKMTRegisterTrimNotification

D3DKMTUnregisterTrimNotification