D3DKMT_ENUMADAPTERS2 structure

Supplies information about adapters on the system.

Syntax

typedef struct _D3DKMT_ENUMADAPTERS2 {
  ULONG              NumAdapters;
  D3DKMT_ADAPTERINFO *pAdapters;
} D3DKMT_ENUMADAPTERS2;

Members

NumAdapters

_Inout_ ULONG NumAdapters

The number of adapters.

On input, NumAdapters specifies how many adapters can be returned in the empty pAdapters array. After a successful return when pAdapters is non-null, NumAdapters contains how many adapters were returned in the pAdapters array. After a failed return when pAdapters is non-null, NumAdapters is undefined. After a successful return when pAdapters is null, NumAdapters contains the maximum supported adapter count.

pAdapters

_Out_opt_ D3DKMT_ADAPTERINFO * pAdapters

An optional array to receive information for each adapter.

Requirements

   
Header d3dkmthk.h

See Also