Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDXGIOutput::GetDesc method

Get a description of the output.

Syntax


HRESULT GetDesc(
  [out] DXGI_OUTPUT_DESC *pDesc
);

Parameters

pDesc [out]

Type: DXGI_OUTPUT_DESC*

A pointer to the output description (see DXGI_OUTPUT_DESC).

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

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.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

IDXGIOutput
DXGI Interfaces

 

 

Show:
© 2017 Microsoft