EngGetDriverName function (winddi.h)

The EngGetDriverName function returns the name of the driver's DLL.

Syntax

ENGAPI LPWSTR EngGetDriverName(
  [in] HDEV hdev
);

Parameters

[in] hdev

Handle to the device. This is the GDI handle received by the driver as the hdev parameter for DrvCompletePDEV.

Return value

EngGetDriverName returns a pointer to the null-terminated string buffer in which the name of the driver's DLL is specified. The system obtains and stores the driver's name from the DRIVER_INFO_2 structure when the driver is first installed through the Win32 AddPrinterDriver routine.

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

EngGetPrinterDataFileName