Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure describes the display mode.

Syntax

typedef struct _D3DMDISPLAYMODE {
  UINT	 
Width;
  UINT	 
Height;
  UINT	 
RefreshRate;
  D3DMFORMAT 
Format;
} D3DMDISPLAYMODE;

Members

Width

A UINT value that defines the screen width, in pixels.

Height

A UNIT value that defines the screen height, in pixels.

RefreshRate

A UINT value that defines the refresh rate. The value of 0 indicates an adapter default.

Format

Member of the D3DMFORMATenumerated type, describing the surface format of the display mode.

Requirements

Header d3dmtypes.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also