D3DDISPLAYMODEEX structure

Information about the properties of a display mode.

Syntax

typedef struct {
  UINT                Size;
  UINT                Width;
  UINT                Height;
  UINT                RefreshRate;
  D3DFORMAT           Format;
  D3DSCANLINEORDERING ScanLineOrdering;
} D3DDISPLAYMODEEX;

Members

Size

Type: UINT

The size of this structure. This should always be set to sizeof(D3DDISPLAYMODEEX).

Width

Type: UINT

Width of the display mode.

Height

Type: UINT

Height of the display mode.

RefreshRate

Type: UINT

Refresh rate of the display mode.

Format

Type: D3DFORMAT

Format of the display mode. See D3DFORMAT.

ScanLineOrdering

Type: D3DSCANLINEORDERING

Indicates whether the scanline order is progressive or interlaced. See D3DSCANLINEORDERING.

Remarks

This structure is used in various methods to create and manage Direct3D 9Ex devices (IDirect3DDevice9Ex) and swapchains (IDirect3DSwapChain9Ex).

Requirements

Requirement Value
Header
D3d9types.h

See also

Direct3D Structures