Microsoft DirectX 9.0

IVMRSurface9::UnlockSurface

The UnlockSurface method unlocks the attached DirectDraw surface.

Syntax

HRESULT UnlockSurface();

Parameters

This method takes no parameters.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.
E_FAIL No Direct3D surface is attached to this sample.

Requirements

Include D3d9.h, Vmr9.h.

See Also