D3D12DDI_CORELAYER_DEVICECALLBACKS_0022 structure (d3d12umddi.h)

Cette structure contient des fonctions de rappel d’exécution que le pilote d’affichage en mode utilisateur peut utiliser.

Syntaxe

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;

Membres

pfnSetErrorCb

Pointeur vers la fonction PFND3D12DDI_SETERROR_CB.

pfnSetCommandListErrorCb

Pointeur vers la fonction PFND3D12DDI_SETCOMMANDLISTERROR_CB.

pfnSetCommandListDDITableCb

Pointeur vers la fonction PFND3D12DDI_SETCOMMANDLISTDDITABLE_CB.

pfnCreateContextCb

Pointeur vers la fonction PFND3D12DDI_CREATECONTEXT_CB.

pfnCreateContextVirtualCb

Pointeur vers la fonction PFND3D12DDI_CREATECONTEXTVIRTUAL_CB.

Prise en charge à partir de WDDM 2.0.

pfnReservedCreateContextVirtualCb

Pointeur de fonction pour les versions WDDM inférieures à 2.0.

pfnDestroyContextCb

Pointeur vers la fonction PFND3D12DDI_DESTROYCONTEXT_CB.

pfnCreatePagingQueueCb

Pointeur vers la fonction PFND3D12DDI_CREATEPAGINGQUEUE_CB.

Prise en charge à partir de WDDM 2.0.

pfnDestroyPagingQueueCb

Pointeur vers la fonction PFND3D12DDI_DESTROYPAGINGQUEUE_CB.

Prise en charge à partir de WDDM 2.0.

pfnMakeResidentCb

Pointeur vers la fonction PFND3D12DDI_MAKERESIDENT_CB.

Prise en charge à partir de WDDM 2.0.

pfnEvictCb

Pointeur vers la fonction PFND3D12DDI_EVICT_CB.

Prise en charge à partir de WDDM 2.0.

pfnReclaimAllocations2Cb

Pointeur vers la fonction PFND3D12DDI_RECLAIMALLOCATIONS2_CB.

Prise en charge à partir de WDDM 2.0.

pfnOfferAllocationsCb

Pointeur vers la fonction PFND3D12DDI_OFFERALLOCATIONS_CB.

Prise en charge à partir de WDDM 2.0.

pfnReservedCreatePagingQueueCb

Pointeur de fonction pour les versions WDDM inférieures à 2.0.

pfnReservedDestroyPagingQueueCb

Pointeur de fonction pour les versions WDDM inférieures à 2.0.

pfnReservedMakeResidentCb

Pointeur de fonction pour les versions WDDM inférieures à 2.0.

pfnReservedEvictCb

Pointeur de fonction pour les versions WDDM inférieures à 2.0.

pfnReservedReclaimAllocations2Cb

Pointeur de fonction pour les versions WDDM inférieures à 2.0.

pfnReservedOfferAllocationsCb

Pointeur de fonction pour les versions WDDM inférieures à 2.0.

pfnAllocateCb

Pointeur vers la fonction pfnAllocateCb .

pfnDeallocateCb

Pointeur vers la fonction pfnDeallocateCb .

Configuration requise

Condition requise Valeur
En-tête d3d12umddi.h (inclure D3d12umddi.h)