Expand Minimize

D3DKMT_DISPLAYMODE structure

The D3DKMT_DISPLAYMODE structure describes a display mode.

Syntax


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

Members

Width

[out] The screen width of the display mode, in pixels.

Height

[out] The screen height of the display mode, in pixels.

Format

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

IntegerRefreshRate

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

RefreshRate

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

ScanLineOrdering

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

DisplayOrientation

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

DisplayFixedOutput

[out] The fixed output of the display mode.

Flags

[out] A D3DKMDT_DISPLAYMODE_FLAGS structure that indicates information about the display mode.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DDDIFORMAT
D3DDDI_RATIONAL
D3DDDI_ROTATION
D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING
D3DKMDT_DISPLAYMODE_FLAGS
D3DKMT_GETDISPLAYMODELIST
D3DKMTGetDisplayModeList

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft