Microsoft DirectX 8.1 (C++)

IVMRSurface::UnlockSurface

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The UnlockSurface method unlocks the attached DirectDraw surface.

Syntax

HRESULT UnlockSurface();

Parameters

This method takes no parameters.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Error Code Description
E_FAIL No DirectDraw surface is attached to this sample.

See Also