EngUnlockDriverObj function (winddi.h)

The EngUnlockDriverObj function causes GDI to unlock the driver object.

Syntax

ENGAPI BOOL EngUnlockDriverObj(
  HDRVOBJ hdo
);

Parameters

hdo

Identifies the object to be unlocked.

Return value

The return value is TRUE if the function is successful; otherwise, it is FALSE.

Remarks

The specified driver object must have been previously locked by a call to EngLockDriverObj. The object is not unlockable by another thread while it is locked down.

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

EngLockDriverObj