IDXGIOutput::GetDesc method (dxgi.h)
Get a description of the output.
Syntax
HRESULT GetDesc(
[out] DXGI_OUTPUT_DESC *pDesc
);
Parameters
[out] pDesc
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for