Get a description of the output.
On Xbox One, this method is not implemented, and returns DXGI_ERROR_UNSUPPORTED.
public:
HRESULT GetDesc(
DXGI_OUTPUT_DESC *pDesc
)
pDesc
Type: DXGI_OUTPUT_DESCÂ *
[out] A pointer to the output description (see DXGI_OUTPUT_DESC).
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.
On a high DPI desktop, GetDesc returns the visualized screen size unless the app is marked high DPI aware. For info about writing DPI-aware Win32 apps, see High DPI.
Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).