Detlef Riekenberg : winspool:
Make fixme for PRINTER_ENUM_CONNECTIONS more silent.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 22 07:05:33 CST 2007
Module: wine
Branch: master
Commit: bc85a34f506ad4a2711bd4396ed4a33f94d26a12
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc85a34f506ad4a2711bd4396ed4a33f94d26a12
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Sun Jan 21 20:49:34 2007 +0100
winspool: Make fixme for PRINTER_ENUM_CONNECTIONS more silent.
---
dlls/winspool.drv/info.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 79a9b94..2b96f45 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -4047,9 +4047,15 @@ static BOOL WINSPOOL_EnumPrinters(DWORD
return TRUE;
if (dwType & PRINTER_ENUM_CONNECTIONS) {
- FIXME("We don't handle PRINTER_ENUM_CONNECTIONS\n");
- dwType &= ~PRINTER_ENUM_CONNECTIONS; /* we don't handle that */
- if(!dwType) return TRUE;
+ TRACE("ignoring PRINTER_ENUM_CONNECTIONS\n");
+ dwType &= ~PRINTER_ENUM_CONNECTIONS; /* we don't handle that */
+ if (!dwType) {
+ FIXME("We don't handle PRINTER_ENUM_CONNECTIONS\n");
+ *lpdwNeeded = 0;
+ *lpdwReturned = 0;
+ return TRUE;
+ }
+
}
if (!((dwType & PRINTER_ENUM_LOCAL) || (dwType & PRINTER_ENUM_NAME))) {
More information about the wine-cvs
mailing list