D3D12DDI_CORELAYER_DEVICECALLBACKS_0022 structure

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;
  PFND3D12DDI_DESTROYCONTEXT_CB         pfnDestroyContextCb;
  void                                  *pfnReservedCreateContextVirtualCb;
  PFND3D12DDI_CREATEPAGINGQUEUE_CB      pfnCreatePagingQueueCb;
  PFND3D12DDI_DESTROYPAGINGQUEUE_CB     pfnDestroyPagingQueueCb;
  PFND3D12DDI_MAKERESIDENT_CB           pfnMakeResidentCb;
  PFND3D12DDI_EVICT_CB                  pfnEvictCb;
  PFND3D12DDI_RECLAIMALLOCATIONS2_CB    pfnReclaimAllocations2Cb;
  PFND3D12DDI_OFFERALLOCATIONS_CB       pfnOfferAllocationsCb;
  PFND3D12DDI_ALLOCATE_CB_0022          pfnAllocateCb;
  PFND3D12DDI_DEALLOCATE_CB_0022        pfnDeallocateCb;
  void                                  *pfnReservedCreatePagingQueueCb;
  void                                  *pfnReservedDestroyPagingQueueCb;
  void                                  *pfnReservedMakeResidentCb;
  void                                  *pfnReservedEvictCb;
  void                                  *pfnReservedReclaimAllocations2Cb;
  void                                  *pfnReservedOfferAllocationsCb;
} 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.

pfnDestroyContextCb

A pointer to the PFND3D12DDI_DESTROYCONTEXT_CB function.

pfnReservedCreateContextVirtualCb

A function pointer for WDDM versions less than 2.0.

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.

pfnAllocateCb

A pointer to the pfnAllocateCb function.

pfnDeallocateCb

A pointer to the pfnDeallocateCb function.

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.

Requirements

   
Header d3d12umddi.h (include D3d12umddi.h)