GDI Driver-Related Services

Driver writers can use the GDI driver-related services listed in the following table to create or delete driver objects, obtain the name of the driver's DLL, and lock or unlock a driver object.

Function Description

EngCreateDriverObj

Creates a DRIVEROBJ structure. This structure is used to track a device-managed resource that must be released if the resource-allocating process terminates without first cleaning it up.

EngDeleteDriverObj

Frees the handle used for tracking a device-managed resource.

EngGetDriverName

Returns the name of the driver's DLL.

EngLockDriverObj

Creates an exclusive lock on a driver object for the calling thread.

EngUnlockDriverObj

Unlocks the driver object.