Skip to content
Snippets Groups Projects
Commit e267ccfe authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard
Browse files

winspool: Add documentation and a stub for SetDefaultPrinterA/W.

parent 8167c415
No related branches found
No related tags found
No related merge requests found
......@@ -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.@)
*/
......
......@@ -6,9 +6,9 @@
105 stub PerfCollect
106 stub PerfOpen
201 stdcall GetDefaultPrinterA(ptr ptr)
202 stub SetDefaultPrinterA
202 stdcall SetDefaultPrinterA(str)
203 stdcall GetDefaultPrinterW(ptr ptr)
204 stub SetDefaultPrinterW
204 stdcall SetDefaultPrinterW(wstr)
205 stub -noname SplReadPrinter
206 stub -noname AddPerMachineConnectionA
207 stub -noname AddPerMachineConnectionW
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment