=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winspool: Implement SetPrinterW for level 8.

Alexandre Julliard julliard at winehq.org
Sun Jul 3 12:18:26 CDT 2016


Module: wine
Branch: master
Commit: 88c77da35d2a4e443886e89be7ee16994d1605e7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=88c77da35d2a4e443886e89be7ee16994d1605e7

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sat Jun 25 21:08:54 2016 +0200

winspool: Implement SetPrinterW for level 8.

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;




More information about the wine-cvs mailing list