EngUnlockDriverObj

BOOL EngUnlockDriverObj(

    IN HDRVOBJ  hdo
  );

EngUnlockDriverObj causes GDI to unlock the driver object.

Parameters

hdo

Identifies the object to be unlocked.

Return Value

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

Comments

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.