From c9fdc565e5753bf363943b2b1c88486334b00576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 2 May 2012 19:40:09 +0200 Subject: [PATCH] winspool.drv: Support printer info level 8. --- 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 2f098553f8f..297cf7a44df 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;