Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDXGISurface::Unmap method

Invalidate the pointer to the surface retrieved by IDXGISurface::Map and re-enable GPU access to the resource.

Syntax


HRESULT Unmap();

Parameters

This method has no parameters.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns one of the error codes that are described in the DXGI_ERROR topic.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

IDXGISurface

 

 

Show:
© 2017 Microsoft