DXGI_OUTPUT_DESC structure (dxgi.h)
Describes an output or physical connection between the adapter (video card) and a device.
Syntax
typedef struct DXGI_OUTPUT_DESC {
WCHAR DeviceName[32];
RECT DesktopCoordinates;
BOOL AttachedToDesktop;
DXGI_MODE_ROTATION Rotation;
HMONITOR Monitor;
} DXGI_OUTPUT_DESC;
Members
DeviceName[32]
Type: WCHAR[32]
A string that contains the name of the output device.
DesktopCoordinates
Type: RECT
A RECT structure containing the bounds of the output in desktop coordinates. Desktop coordinates depend on the dots per inch (DPI) of the desktop. For info about writing DPI-aware Win32 apps, see High DPI.
AttachedToDesktop
Type: BOOL
True if the output is attached to the desktop; otherwise, false.
Rotation
Type: DXGI_MODE_ROTATION
A member of the DXGI_MODE_ROTATION enumerated type describing on how an image is rotated by the output.
Monitor
Type: HMONITOR
An HMONITOR handle that represents the display monitor. For more information, see HMONITOR and the Device Context.
Remarks
The DXGI_OUTPUT_DESC structure is initialized by the IDXGIOutput::GetDesc method.
Requirements
Requirement | Value |
---|---|
Header | dxgi.h |