IDXGIOutputDuplication::GetDesc method (dxgi1_2.h)

Retrieves a description of a duplicated output. This description specifies the dimensions of the surface that contains the desktop image.

Syntax

void GetDesc(
  [out] DXGI_OUTDUPL_DESC *pDesc
);

Parameters

[out] pDesc

A pointer to a DXGI_OUTDUPL_DESC structure that describes the duplicated output. This parameter must not be NULL.

Return value

None

Remarks

After an application creates an IDXGIOutputDuplication interface, it calls GetDesc to retrieve the dimensions of the surface that contains the desktop image. The format of the desktop image is always DXGI_FORMAT_B8G8R8A8_UNORM.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header dxgi1_2.h
Library Dxgi.lib

See also

IDXGIOutputDuplication