EngLockDriverObj
TOC
Collapse the table of content
Expand the table of content

EngLockDriverObj function

The EngLockDriverObj function creates an exclusive lock on this object for the calling thread.

Syntax


DRIVEROBJ* EngLockDriverObj(
   HDRVOBJ hdo
);

Parameters

hdo

Handle to the DRIVEROBJ structure to be locked by GDI.

Return value

EngLockDriverObj returns a DRIVEROBJ structure if the function is successful. If the operation fails, it returns NULL.

Remarks

This function will fail if the handle is invalid, if the object is already locked by another thread, or if the handle is not owned by the calling process.

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

DRIVEROBJ

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft