Compartilhar via


D3DMDISPLAYMODE

A version of this page is also available for

Windows Embedded CE 6.0 R3

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 D3DMFORMAT enumerated 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

Reference

Direct3D Mobile Structures
IDirect3DMobile::EnumAdapterModes
IDirect3DMobile::GetAdapterDisplayMode
IDirect3DMobileDevice::GetDisplayMode