D3DDDI_ADAPTERCALLBACKS structure (d3dumddi.h)

The D3DDDI_ADAPTERCALLBACKS structure contains Microsoft Direct3D runtime callback functions that the user-mode display driver can use.

Syntax

typedef struct _D3DDDI_ADAPTERCALLBACKS {
  PFND3DDDI_QUERYADAPTERINFOCB         pfnQueryAdapterInfoCb;
  PFND3DDDI_GETMULTISAMPLEMETHODLISTCB pfnGetMultisampleMethodListCb;
  PFND3DDDI_QUERYADAPTERINFOCB2        pfnQueryAdapterInfoCb2;
} D3DDDI_ADAPTERCALLBACKS;

Members

pfnQueryAdapterInfoCb

A pointer to the pfnQueryAdapterInfoCb function, which the user-mode display driver uses to query the display miniport driver for adapter configuration information.

pfnGetMultisampleMethodListCb

A pointer to the pfnGetMultisampleMethodListCb function, which the user-mode display driver uses to retrieve the list of multiple-sampling methods that are used for an allocation.

pfnQueryAdapterInfoCb2

Remarks

The following code example demonstrates the function declarations for the functions that the members of D3DDDI_ADAPTERCALLBACKS point to.

typedef HRESULT (APIENTRY CALLBACK *PFND3DDDI_QUERYADAPTERINFOCB)(HANDLE hAdapter, CONST D3DDDICB_QUERYADAPTERINFO*);
typedef HRESULT (APIENTRY CALLBACK *PFND3DDDI_GETMULTISAMPLEMETHODLISTCB)(HANDLE hAdapter, D3DDDICB_GETMULTISAMPLEMETHODLIST*);

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_OPENADAPTER

OpenAdapter

pfnGetMultisampleMethodListCb

pfnQueryAdapterInfoCb