D3D12DDI_CORELAYER_DEVICECALLBACKS_0022 structure (d3d12umddi.h)

This structure contains runtime callback functions that the user-mode display driver can use.

Syntax

typedef struct D3D12DDI_CORELAYER_DEVICECALLBACKS_0022 {
  PFND3D12DDI_SETERROR_CB               pfnSetErrorCb;
  PFND3D12DDI_SETCOMMANDLISTERROR_CB    pfnSetCommandListErrorCb;
  PFND3D12DDI_SETCOMMANDLISTDDITABLE_CB pfnSetCommandListDDITableCb;
  PFND3D12DDI_CREATECONTEXT_CB          pfnCreateContextCb;
  PFND3D12DDI_CREATECONTEXTVIRTUAL_CB   pfnCreateContextVirtualCb;
  void                                  *pfnReservedCreateContextVirtualCb;
  PFND3D12DDI_DESTROYCONTEXT_CB         pfnDestroyContextCb;
  PFND3D12DDI_CREATEPAGINGQUEUE_CB      pfnCreatePagingQueueCb;
  PFND3D12DDI_DESTROYPAGINGQUEUE_CB     pfnDestroyPagingQueueCb;
  PFND3D12DDI_MAKERESIDENT_CB           pfnMakeResidentCb;
  PFND3D12DDI_EVICT_CB                  pfnEvictCb;
  PFND3D12DDI_RECLAIMALLOCATIONS2_CB    pfnReclaimAllocations2Cb;
  PFND3D12DDI_OFFERALLOCATIONS_CB       pfnOfferAllocationsCb;
  void                                  *pfnReservedCreatePagingQueueCb;
  void                                  *pfnReservedDestroyPagingQueueCb;
  void                                  *pfnReservedMakeResidentCb;
  void                                  *pfnReservedEvictCb;
  void                                  *pfnReservedReclaimAllocations2Cb;
  void                                  *pfnReservedOfferAllocationsCb;
  PFND3D12DDI_ALLOCATE_CB_0022          pfnAllocateCb;
  PFND3D12DDI_DEALLOCATE_CB_0022        pfnDeallocateCb;
} D3D12DDI_CORELAYER_DEVICECALLBACKS_0022;

Members

pfnSetErrorCb

A pointer to the PFND3D12DDI_SETERROR_CB function.

pfnSetCommandListErrorCb

A pointer to the PFND3D12DDI_SETCOMMANDLISTERROR_CB function.

pfnSetCommandListDDITableCb

A pointer to the PFND3D12DDI_SETCOMMANDLISTDDITABLE_CB function.

pfnCreateContextCb

A pointer to the PFND3D12DDI_CREATECONTEXT_CB function.

pfnCreateContextVirtualCb

A pointer to the PFND3D12DDI_CREATECONTEXTVIRTUAL_CB function.

Supported starting in WDDM 2.0.

pfnReservedCreateContextVirtualCb

A function pointer for WDDM versions less than 2.0.

pfnDestroyContextCb

A pointer to the PFND3D12DDI_DESTROYCONTEXT_CB function.

pfnCreatePagingQueueCb

A pointer to the PFND3D12DDI_CREATEPAGINGQUEUE_CB function.

Supported starting in WDDM 2.0.

pfnDestroyPagingQueueCb

A pointer to the PFND3D12DDI_DESTROYPAGINGQUEUE_CB function.

Supported starting in WDDM 2.0.

pfnMakeResidentCb

A pointer to the PFND3D12DDI_MAKERESIDENT_CB function.

Supported starting in WDDM 2.0.

pfnEvictCb

A pointer to the PFND3D12DDI_EVICT_CB function.

Supported starting in WDDM 2.0.

pfnReclaimAllocations2Cb

A pointer to the PFND3D12DDI_RECLAIMALLOCATIONS2_CB function.

Supported starting in WDDM 2.0.

pfnOfferAllocationsCb

A pointer to the PFND3D12DDI_OFFERALLOCATIONS_CB function.

Supported starting in WDDM 2.0.

pfnReservedCreatePagingQueueCb

A function pointer for WDDM versions less than 2.0.

pfnReservedDestroyPagingQueueCb

A function pointer for WDDM versions less than 2.0.

pfnReservedMakeResidentCb

A function pointer for WDDM versions less than 2.0.

pfnReservedEvictCb

A function pointer for WDDM versions less than 2.0.

pfnReservedReclaimAllocations2Cb

A function pointer for WDDM versions less than 2.0.

pfnReservedOfferAllocationsCb

A function pointer for WDDM versions less than 2.0.

pfnAllocateCb

A pointer to the pfnAllocateCb function.

pfnDeallocateCb

A pointer to the pfnDeallocateCb function.

Requirements

Requirement Value
Header d3d12umddi.h (include D3d12umddi.h)