EngGetPrinterDataFileName

LPWSTR EngGetPrinterDataFileName(

    HDEV hdev

   );

EngGetPrinterDataFileName retrieves the string name of the printer’s data file.

Parameters

hdev
Handle that identifies the installed physical printing device whose data file name is being queried.

Return Value

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

See Also

EngGetDriverName