IDXGIOutput6::GetDesc1 method

Get an extended description of the output that includes color characteristics and connection type.

Syntax


HRESULT GetDesc1(
  [out] DXGI_OUTPUT_DESC1 *pDesc
);

Parameters

pDesc [out]

Type: DXGI_OUTPUT_DESC1*

A pointer to the output description (see DXGI_OUTPUT_DESC1).

Return value

Type: HRESULT

Returns a code that indicates success or failure. S_OK if successful, DXGI_ERROR_INVALID_CALL if pDesc is passed in as NULL.

Remarks

Some scenarios do not have well-defined values for all fields in this struct. For example, if this IDXGIOutput represents a clone/duplicate set, or if the EDID has missing or invalid data. In these cases, the OS will provide some default values that correspond to a standard SDR display.

On a high DPI desktop, GetDesc1 returns the visualized screen size unless the app is marked high DPI aware. For info about writing DPI-aware Win32 apps, see High DPI.

Requirements

Header

DXGI1_6.h

Library

DXGI.lib

See also

IDXGIOutput6
DXGI Interfaces

 

 

Show: