DXGI_OUTPUT_DESC Structure

Defines the description of an output (e.g., a display monitor).

Syntax

typedef struct DXGI_OUTPUT_DESC {
  WCHAR                  DeviceName[32];
  RECT                   DesktopCoordinates;
  BOOL                   AttachedToDesktop;
  DXGI_MODE_ROTATION     Rotation;
  UINT                   DesktopScalingWidth;
  UINT                   DesktopScalingHeight;
} DXGI_OUTPUT_DESC;

Members

Member Description
DeviceName

A unique identifier for the output (e.g., "\\.\Display1").

DesktopCoordinates

The desktop coordinates of the output.

This member is a RECT structure that describes the bounding rectangle of the output on the desktop.

AttachedToDesktop

A boolean value that indicates whether the output is attached to the desktop.

TRUE if the output is attached to the desktop; otherwise, FALSE.

Rotation

A value that indicates the rotation of the output.

This member is a DXGI_MODE_ROTATION enumerated type value.

DesktopScalingWidth

The width of the desktop scaling for the output. This is used when the desktop is scaled up.

DesktopScalingHeight

The height of the desktop scaling for the output. This is used when the desktop is scaled up.

Remarks

The DXGI_OUTPUT_DESC structure is populated by the GetDesc method of the IDXGIOutput interface.

Note

The DeviceName member can be a string that identifies the output device. This name can be used to programmatically refer to a specific output.

Requirements

Attribute Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Header dxgi.h

Related Topics