// d3dumddi.h
PFND3DDDI_QUERYADAPTERINFOCB2 Pfnd3dddiQueryadapterinfocb2;
HRESULT Pfnd3dddiQueryadapterinfocb2(
HANDLE hAdapter,
const D3DDDICB_QUERYADAPTERINFO2 *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A user-mode display driver (UMD) can call the Direct3D runtime's pfnQueryAdapterInfoCb2 callback to retrieve information about the adapter.
hAdapter[in] A handle to the graphics adapter object.
unnamedParam2[in/out] Pointer to a D3DDDICB_QUERYADAPTERINFO2 structure that receives information about the graphics hardware.
pfnQueryAdapterInfoCb2 returns S_OK if it successfully retrieves the information. Otherwise, it returns an error code such as the following:
| Error code | Description |
|---|---|
| E_INVALIDARG | Parameters were validated and determined to be incorrect. |