=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winspool: Implement SetPrinterW for level 8.
Alexandre Julliard
julliard at winehq.org
Fri Oct 7 15:09:14 CDT 2016
Module: wine
Branch: stable
Commit: 1f09831eb0744204e8bb4430c81c3cfb1707ef33
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1f09831eb0744204e8bb4430c81c3cfb1707ef33
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>
(cherry picked from commit 88c77da35d2a4e443886e89be7ee16994d1605e7)
Signed-off-by: Michael Stefaniuc <mstefani 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 8ad9756..c3dd2f9 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -3488,6 +3488,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