SetDefaultPrinterW (WINSPOOL.204)
BOOL SetDefaultPrinterW ( LPCWSTR pszPrinter )
Set the Name of the Default Printer.
pszPrinter | [In] | Name of the Printer or NULL. |
Success: TRUE
Failure: FALSE.
When the Parameter is NULL or points to an Empty String and a Default Printer was already present, then this Function changes nothing. Without a Default Printer and NULL (or an Empty String) as Parameter, the First enumerated local Printer is used.
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.