D3DKMT_GETDISPLAYMODELIST structure (d3dkmthk.h)

The D3DKMT_GETDISPLAYMODELIST structure describes a list of display modes.

Syntax

typedef struct _D3DKMT_GETDISPLAYMODELIST {
  D3DKMT_HANDLE                  hAdapter;
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  D3DKMT_DISPLAYMODE             *pModeList;
  UINT                           ModeCount;
} D3DKMT_GETDISPLAYMODELIST;

Members

hAdapter

[in] A handle to the graphics adapter.

VidPnSourceId

[in] The zero-based identification number of the video present source in a path of a video present network (VidPN) topology that the display modes apply to.

pModeList

[in/out] An array of D3DKMT_DISPLAYMODE structures that represent the list of display modes. If pModeList is NULL and ModeCount is zero on input, D3DKMTGetDisplayModeList sets ModeCount to be the number of display modes for the specified VidPnSourceId on the specified graphics adapter.

ModeCount

[in/out] The number of display modes in the array that pModeList specifies. If pModeList is NULL and ModeCount is zero on input, D3DKMTGetDisplayModeList sets ModeCount to be the number of display modes for the specified VidPnSourceId on the specified graphics adapter.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTGetDisplayModeList

D3DKMT_DISPLAYMODE