winspool: Add documentation and a stub for SetDefaultPrinterA/W.
This commit is contained in:
parent
8167c415ab
commit
e267ccfe6e
@ -4147,6 +4147,50 @@ end:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* SetDefaultPrinterW (WINSPOOL.204)
|
||||||
|
*
|
||||||
|
* Set the Name of the Default Printer
|
||||||
|
*
|
||||||
|
* PARAMS
|
||||||
|
* pszPrinter [I] Name of the Printer or NULL
|
||||||
|
*
|
||||||
|
* RETURNS
|
||||||
|
* Success: True
|
||||||
|
* Failure: FALSE
|
||||||
|
*
|
||||||
|
* NOTES
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
BOOL WINAPI SetDefaultPrinterW(LPCWSTR pszPrinter)
|
||||||
|
{
|
||||||
|
|
||||||
|
TRACE("(%s)\n", debugstr_w(pszPrinter));
|
||||||
|
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* SetDefaultPrinterA (WINSPOOL.202)
|
||||||
|
*
|
||||||
|
* See SetDefaultPrinterW.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
BOOL WINAPI SetDefaultPrinterA(LPCSTR pszPrinter)
|
||||||
|
{
|
||||||
|
|
||||||
|
TRACE("(%s)\n", debugstr_a(pszPrinter));
|
||||||
|
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SetPrinterDataExA (WINSPOOL.@)
|
* SetPrinterDataExA (WINSPOOL.@)
|
||||||
*/
|
*/
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
105 stub PerfCollect
|
105 stub PerfCollect
|
||||||
106 stub PerfOpen
|
106 stub PerfOpen
|
||||||
201 stdcall GetDefaultPrinterA(ptr ptr)
|
201 stdcall GetDefaultPrinterA(ptr ptr)
|
||||||
202 stub SetDefaultPrinterA
|
202 stdcall SetDefaultPrinterA(str)
|
||||||
203 stdcall GetDefaultPrinterW(ptr ptr)
|
203 stdcall GetDefaultPrinterW(ptr ptr)
|
||||||
204 stub SetDefaultPrinterW
|
204 stdcall SetDefaultPrinterW(wstr)
|
||||||
205 stub -noname SplReadPrinter
|
205 stub -noname SplReadPrinter
|
||||||
206 stub -noname AddPerMachineConnectionA
|
206 stub -noname AddPerMachineConnectionA
|
||||||
207 stub -noname AddPerMachineConnectionW
|
207 stub -noname AddPerMachineConnectionW
|
||||||
|
Loading…
x
Reference in New Issue
Block a user