EngUnlockDirectDrawSurface function (winddi.h)

The EngUnlockDirectDrawSurface function releases the lock on the specified surface.

Syntax

ENGAPI BOOL EngUnlockDirectDrawSurface(
  [in] PDD_SURFACE_LOCAL pSurface
);

Parameters

[in] pSurface

Pointer to a DD_SURFACE_LOCAL structure that describes the surface to be unlocked.

Return value

EngUnlockDirectDrawSurface returns TRUE when it successfully unlocks the specified surface. Otherwise, it returns FALSE.

Remarks

The surface must previously have been locked by EngLockDirectDrawSurface.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

EngLockDirectDrawSurface