Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The EngGetPrinterDataFileName function retrieves the string name of the printer's data file.
Syntax
ENGAPI LPWSTR EngGetPrinterDataFileName(
[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
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 (described in the Microsoft Windows SDK documentation) when the driver is first installed through the Microsoft 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 |