D3DDDI_ADAPTERCALLBACKS structure (d3dumddi.h)
The D3DDDI_ADAPTERCALLBACKS structure contains pointers to Direct3D runtime callback functions that the user-mode display driver (UMD) can use.
Syntax
typedef struct _D3DDDI_ADAPTERCALLBACKS {
PFND3DDDI_QUERYADAPTERINFOCB pfnQueryAdapterInfoCb;
PFND3DDDI_GETMULTISAMPLEMETHODLISTCB pfnGetMultisampleMethodListCb;
PFND3DDDI_QUERYADAPTERINFOCB2 pfnQueryAdapterInfoCb2;
} D3DDDI_ADAPTERCALLBACKS;
Members
pfnQueryAdapterInfoCb
Pointer to the pfnQueryAdapterInfoCb function, which UMD uses to query the display miniport driver (KMD) for adapter configuration information.
pfnGetMultisampleMethodListCb
Pointer to the pfnGetMultisampleMethodListCb function, which UMD uses to retrieve the list of multiple-sampling methods that are used for an allocation.
pfnQueryAdapterInfoCb2
Pointer to the runtime's pfnQueryAdapterInfoCb2 function, which UMD uses to query the display miniport driver (KMD) for adapter information.
Remarks
The Direct3D runtime passes D3DDDI_ADAPTERCALLBACKS to UMD when it calls UMD's OpenAdapter function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista (WDDM 1.0) |
Header | d3dumddi.h (include D3dumddi.h) |