winspool.drv: Support printer info level 8

André Hentschel nerv at dawncrow.de
Wed May 2 12:40:09 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=21987
---
 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 2f09855..297cf7a 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -3992,6 +3992,10 @@ BOOL WINAPI GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter,
       }
 
 
+    case 8:
+        /* 8 is the global default printer info and 9 already gets 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 *pi9 = (PRINTER_INFO_9W *)pPrinter;
-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list