IDXGIOutputDuplication::UnMapDesktopSurface method (dxgi1_2.h)

Invalidates the pointer to the desktop image that was retrieved by using IDXGIOutputDuplication::MapDesktopSurface.

Syntax

HRESULT UnMapDesktopSurface();

Return value

UnMapDesktopSurface returns:

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