LPWSTR EngGetPrinterDataFileName(
HDEV hdev | |
); |
EngGetPrinterDataFileName retrieves the string name of the printer’s data file.
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.