winspool: Implement SetPrinterW for level 8.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
André Hentschel 2016-06-25 21:08:54 +02:00 committed by Alexandre Julliard
parent 87c05c8779
commit 88c77da35d
1 changed files with 4 additions and 0 deletions

View File

@ -3487,6 +3487,10 @@ BOOL WINAPI SetPrinterW( HANDLE printer, DWORD level, LPBYTE data, DWORD command
break;
}
case 8:
/* 8 is the global default printer info and 9 already sets it instead of the per-user one */
/* still, PRINTER_INFO_8W is the same as PRINTER_INFO_9W */
/* fall through */
case 9:
{
PRINTER_INFO_9W *pi = (PRINTER_INFO_9W *)data;