OpenPrinterW (WINSPOOL.@)
BOOL OpenPrinterW ( LPWSTR name, HANDLE* printer, PRINTER_DEFAULTSW* defaults )
Open a Printer / Printserver or a Printer-Object.
lpPrinterName | [In] | Name of Printserver, Printer, or Printer-Object. |
phPrinter | [Out] | The resulting Handle is stored here. |
pDefault | [In] | PTR to Default Printer Settings or NULL. |
Success: TRUE
Failure: FALSE.
lpPrinterName is one of:
Printserver (NT only): "Servername" or NULL for the local Printserver Printer: "PrinterName" Printer-Object: "PrinterName,Job xxx" XcvMonitor: "Servername,XcvMonitor MonitorName" XcvPort: "Servername,XcvPort PortName".
Printer-Object not supported pDefaults is ignored
Declared in "include/winspool.h". gitlab.winehq.org/wine/wine/blob/master/include/winspool.h
Implemented in "dlls/winspool.drv/info.c". gitlab.winehq.org/wine/wine/blob/master/dlls/winspool.drv/info.c
Debug channel "winspool".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.