PFND3DDDI_QUERYADAPTERINFOCB2 callback function

Implemented by the client driver to retrieve graphics adapter information.

Syntax

PFND3DDDI_QUERYADAPTERINFOCB2 Pfnd3dddiQueryadapterinfocb2;

HRESULT Pfnd3dddiQueryadapterinfocb2(
  HANDLE hAdapter,
  const D3DDDICB_QUERYADAPTERINFO2 *Arg2
)
{...}

Parameters

hAdapter

A handle to the graphics adapter object.

Arg2

A pointer to a D3DDDICB_QUERYADAPTERINFO2 structure that receives information about the graphics hardware.

Return Value

pfnQueryAdapterInfoCb2 returns one of the following values:

Return code Description
S_OK Information was successfully retrieved.
E_INVALIDARG Parameters were validated and determined to be incorrect.

This function might also return other HRESULT values.

Requirements

   
Header d3dumddi.h