EngGetPrinterDataFileName function

The EngGetPrinterDataFileName function retrieves the string name of the printer's data file.

Syntax


LPWSTR EngGetPrinterDataFileName(
  _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

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

Target platform

Universal

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

EngGetDriverName

 

 

Send comments about this topic to Microsoft

Show: