Expand Minimize

EngGetDriverName function

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

Syntax


LPWSTR EngGetDriverName(
  _In_  HDEV hdev
);

Parameters

hdev [in]

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

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

EngGetPrinterDataFileName

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft