winspool: Implement SetPrinterW for level 8
André Hentschel
nerv at dawncrow.de
Sat Jun 25 14:08:54 CDT 2016
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
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;
--
2.7.4
More information about the wine-patches
mailing list