IDXGIOutputDuplication::GetDesc method

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

Syntax

void GetDesc(
  DXGI_OUTDUPL_DESC *pDesc
);

Parameters

pDesc

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

Return Value

Returns nothing.

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

   
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