PFND3DDDI_QUERYADAPTERINFOCB2 callback function (d3dumddi.h)
A user-mode display driver (UMD) can call the Direct3D runtime's pfnQueryAdapterInfoCb2 callback to retrieve information about the adapter.
Syntax
PFND3DDDI_QUERYADAPTERINFOCB2 Pfnd3dddiQueryadapterinfocb2;
HRESULT Pfnd3dddiQueryadapterinfocb2(
HANDLE hAdapter,
const D3DDDICB_QUERYADAPTERINFO2 *unnamedParam2
)
{...}
Parameters
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.
Return value
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. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 (WDDM 2.4) |
Header | d3dumddi.h |