D3DKMT_DISPLAYMODE structure (d3dkmthk.h)

The D3DKMT_DISPLAYMODE structure describes a display mode.

Syntax

typedef struct _D3DKMT_DISPLAYMODE {
  [out] UINT                                  Width;
  [out] UINT                                  Height;
  [out] D3DDDIFORMAT                          Format;
  [out] UINT                                  IntegerRefreshRate;
  [out] D3DDDI_RATIONAL                       RefreshRate;
  [out] D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering;
  [out] D3DDDI_ROTATION                       DisplayOrientation;
  [out] UINT                                  DisplayFixedOutput;
  [out] D3DKMDT_DISPLAYMODE_FLAGS             Flags;
} D3DKMT_DISPLAYMODE;

Members

[out] Width

The screen width of the display mode, in pixels.

[out] Height

The screen height of the display mode, in pixels.

[out] Format

A D3DDDIFORMAT-typed value that indicates the pixel format of the display mode.

[out] IntegerRefreshRate

A UINT value that indicates the refresh rate of the display mode.

[out] RefreshRate

A D3DDDI_RATIONAL structure that indicates the refresh rate of the display mode.

[out] ScanLineOrdering

A D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING-typed value that indicates how scan lines are ordered in the display mode.

[out] DisplayOrientation

A D3DDDI_ROTATION-typed value that identifies the orientation of the display mode.

[out] DisplayFixedOutput

The fixed output of the display mode.

[out] Flags

A D3DKMDT_DISPLAYMODE_FLAGS structure that indicates information about the display mode.

Requirements

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

See also

D3DDDIFORMAT

D3DDDI_RATIONAL

D3DDDI_ROTATION

D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING

D3DKMDT_DISPLAYMODE_FLAGS

D3DKMTGetDisplayModeList

D3DKMT_GETDISPLAYMODELIST