D3DDISPLAYMODE structure

Describes the display mode.

Syntax

typedef struct D3DDISPLAYMODE {
  UINT      Width;
  UINT      Height;
  UINT      RefreshRate;
  D3DFORMAT Format;
} D3DDISPLAYMODE, *LPD3DDISPLAYMODE;

Members

Width

Type: UINT

Screen width, in pixels.

Height

Type: UINT

Screen height, in pixels.

RefreshRate

Type: UINT

Refresh rate. The value of 0 indicates an adapter default.

Format

Type: D3DFORMAT

Member of the D3DFORMAT enumerated type, describing the surface format of the display mode.

Requirements

Requirement Value
Header
D3D9Types.h

See also

Direct3D Structures

EnumAdapterModes

GetAdapterDisplayMode

GetDisplayMode