.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SetDefaultPrinterW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSetDefaultPrinterW\fR (WINSPOOL.204) .SH SYNOPSIS BOOL SetDefaultPrinterW ( LPCWSTR \fIpszPrinter\fR ) .SH DESCRIPTION .PP Set the Name of the Default Printer. .SH PARAMS \fIpszPrinter\fR \fB[In]\fR Name of the Printer or \fBNULL\fR. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP When the Parameter is \fBNULL\fR or points to an Empty String and a Default Printer was already present, then this Function changes nothing. Without a Default Printer and \fBNULL\fR (or an Empty String) as Parameter, the First enumerated local Printer is used. .SH IMPLEMENTATION .PP Declared in \fB"winspool.h"\fR. .PP Implemented in \fB"dlls/winspool.drv/info.c"\fR. .PP Debug channel \fB"winspool"\fR.