EngUnlockDirectDrawSurface function

The EngUnlockDirectDrawSurface function releases the lock on the specified surface.

Syntax


BOOL EngUnlockDirectDrawSurface(
  _In_ PDD_SURFACE_LOCAL pSurface
);

Parameters

pSurface [in]

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

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngLockDirectDrawSurface

 

 

Send comments about this topic to Microsoft

Show: