Commit 09bcad74 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winspool.drv: Add ResetPrinterW implementation.

parent b6b8d5f4
......@@ -3280,10 +3280,19 @@ BOOL WINAPI ResetPrinterA(HANDLE hPrinter, LPPRINTER_DEFAULTSA pDefault)
/*****************************************************************************
* ResetPrinterW [WINSPOOL.@]
*/
BOOL WINAPI ResetPrinterW(HANDLE hPrinter, LPPRINTER_DEFAULTSW pDefault)
BOOL WINAPI ResetPrinterW(HANDLE printer, PRINTER_DEFAULTSW *def)
{
FIXME("(%p, %p): stub\n", hPrinter, pDefault);
HANDLE handle = get_backend_handle(printer);
TRACE("(%p, %p)\n", printer, def);
if (!handle)
{
SetLastError( ERROR_INVALID_HANDLE );
return FALSE;
}
return backend->fpResetPrinter(handle, def);
}
/*****************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment