Module: wine Branch: master Commit: 88c77da35d2a4e443886e89be7ee16994d1605e7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=88c77da35d2a4e443886e89be7...
Author: André Hentschel nerv@dawncrow.de Date: Sat Jun 25 21:08:54 2016 +0200
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
---
dlls/winspool.drv/info.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index 3ba94cd..95f397c 100644 --- a/dlls/winspool.drv/info.c +++ b/dlls/winspool.drv/info.c @@ -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;