EngGetDriverName

LPWSTR EngGetDriverName(

    HDEV hdev

   );

EngGetDriverName returns the name of the driver’s DLL.

Parameters

hdev
Handle that identifies the installed physical device whose driver’s name is being queried.

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.

See Also

EngGetPrinterDataFileName