// d3d12umddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
This structure contains runtime callback functions that the user-mode display driver can use.
pfnSetErrorCbA pointer to the PFND3D12DDI_SETERROR_CB function.
pfnSetCommandListErrorCbA pointer to the PFND3D12DDI_SETCOMMANDLISTERROR_CB function.
pfnSetCommandListDDITableCbA pointer to the PFND3D12DDI_SETCOMMANDLISTDDITABLE_CB function.
pfnCreateContextCbA pointer to the PFND3D12DDI_CREATECONTEXT_CB function.
pfnCreateContextVirtualCbA pointer to the PFND3D12DDI_CREATECONTEXTVIRTUAL_CB function.
Supported starting in WDDM 2.0.
pfnReservedCreateContextVirtualCbA function pointer for WDDM versions less than 2.0.
pfnDestroyContextCbA pointer to the PFND3D12DDI_DESTROYCONTEXT_CB function.
pfnCreatePagingQueueCbA pointer to the PFND3D12DDI_CREATEPAGINGQUEUE_CB function.
Supported starting in WDDM 2.0.
pfnDestroyPagingQueueCbA pointer to the PFND3D12DDI_DESTROYPAGINGQUEUE_CB function.
Supported starting in WDDM 2.0.
pfnMakeResidentCbA pointer to the PFND3D12DDI_MAKERESIDENT_CB function.
Supported starting in WDDM 2.0.
pfnEvictCbA pointer to the PFND3D12DDI_EVICT_CB function.
Supported starting in WDDM 2.0.
pfnReclaimAllocations2CbA pointer to the PFND3D12DDI_RECLAIMALLOCATIONS2_CB function.
Supported starting in WDDM 2.0.
pfnOfferAllocationsCbA pointer to the PFND3D12DDI_OFFERALLOCATIONS_CB function.
Supported starting in WDDM 2.0.
pfnReservedCreatePagingQueueCbA function pointer for WDDM versions less than 2.0.
pfnReservedDestroyPagingQueueCbA function pointer for WDDM versions less than 2.0.
pfnReservedMakeResidentCbA function pointer for WDDM versions less than 2.0.
pfnReservedEvictCbA function pointer for WDDM versions less than 2.0.
pfnReservedReclaimAllocations2CbA function pointer for WDDM versions less than 2.0.
pfnReservedOfferAllocationsCbA function pointer for WDDM versions less than 2.0.
pfnAllocateCbA pointer to the pfnAllocateCb function.
pfnDeallocateCbA pointer to the pfnDeallocateCb function.