Module: wine
Branch: master
Commit: c9fdc565e5753bf363943b2b1c88486334b00576
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9fdc565e5753bf363943b2b1…
Author: André Hentschel <nerv(a)dawncrow.de>
Date: Wed May 2 19:40:09 2012 +0200
winspool.drv: Support printer info level 8.
---
dlls/winspool.drv/info.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
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;