Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Invalidates the pointer to the desktop image that was retrieved by using IDXGIOutputDuplication::MapDesktopSurface.
Syntax
HRESULT UnMapDesktopSurface();
Return value
UnMapDesktopSurface returns:
- S_OK if it successfully completed.
- DXGI_ERROR_INVALID_CALL if the application did not map the desktop surface by calling IDXGIOutputDuplication::MapDesktopSurface.
- Possibly other error codes that are described in the DXGI_ERROR topic.
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 |