Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains Microsoft Direct3D 12 runtime callback functions that the user-mode display driver can use.
Syntax
typedef struct D3D12DDI_CORELAYER_DEVICECALLBACKS_0003 {
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;
} D3D12DDI_CORELAYER_DEVICECALLBACKS_0003;
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 |
Header | d3d12umddi.h |