Bewerken

Delen via


PFND3DDDI_QUERYADAPTERINFOCB2 callback function (d3dumddi.h)

Implemented by the client driver to retrieve graphics adapter information.

Syntax

PFND3DDDI_QUERYADAPTERINFOCB2 Pfnd3dddiQueryadapterinfocb2;

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

Parameters

hAdapter

A handle to the graphics adapter object.

unnamedParam2

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

Requirement Value
Header d3dumddi.h