// d3dumddi.h
typedef struct _D3DDDI_ADAPTERCALLBACKS {
PFND3DDDI_QUERYADAPTERINFOCB pfnQueryAdapterInfoCb;
PFND3DDDI_GETMULTISAMPLEMETHODLISTCB pfnGetMultisampleMethodListCb;
PFND3DDDI_QUERYADAPTERINFOCB2 pfnQueryAdapterInfoCb2;
} D3DDDI_ADAPTERCALLBACKS;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDI_ADAPTERCALLBACKS structure contains pointers to Direct3D runtime callback functions that the user-mode display driver (UMD) can use.
pfnQueryAdapterInfoCbPointer to the pfnQueryAdapterInfoCb function, which UMD uses to query the display miniport driver (KMD) for adapter configuration information.
pfnGetMultisampleMethodListCbPointer to the pfnGetMultisampleMethodListCb function, which UMD uses to retrieve the list of multiple-sampling methods that are used for an allocation.
pfnQueryAdapterInfoCb2Pointer to the runtime's pfnQueryAdapterInfoCb2 function, which UMD uses to query the display miniport driver (KMD) for adapter information.
The Direct3D runtime passes D3DDDI_ADAPTERCALLBACKS to UMD when it calls UMD's OpenAdapter function.