_D3DDDI_ADAPTERCALLBACKS structure

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;
} 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.

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

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. 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