Convert some ERRs to WARNs in the DDE client code when appropriate

Dmitry Timoshkov dmitry at baikal.ru
Fri Nov 11 01:45:38 CST 2005


Hello,

a not available DDE server window is a normal case, which simply shows
that a server is not started yet. For instance this message is being
always printed when ShellExecute does first attempt to send a DDE command.
I have also converted some other ERRs to WARNs as it is more appropriate IMO.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Convert some ERRs to WARNs in the DDE client code when appropriate.

--- cvs/hq/wine/dlls/user/dde_client.c	Mon Aug 15 10:44:34 2005
+++ wine/dlls/user/dde_client.c	Fri Nov 11 07:38:22 2005
@@ -198,7 +198,7 @@ HCONV WINAPI DdeConnect(DWORD idInst, HS
     pConv = WDML_GetConvFromWnd(hwndClient);
     if (pConv == NULL || pConv->hwndServer == 0)
     {
-	ERR("Done with INITIATE, but no Server window available\n");
+	WARN("Done with INITIATE, but no Server window available\n");
 	pConv = NULL;
 	goto theEnd;
     }
@@ -1118,7 +1118,7 @@ HDDEDATA WINAPI DdeClientTransaction(LPB
 
     if (hConv == 0)
     {
-	ERR("Invalid conversation handle\n");
+	WARN("Invalid conversation handle NULL\n");
 	return 0;
     }
 
@@ -1376,7 +1376,7 @@ BOOL WINAPI DdeDisconnect(HCONV hConv)
 
     if (hConv == 0)
     {
-	ERR("DdeDisconnect(): hConv = 0\n");
+	WARN("DdeDisconnect(): hConv = 0\n");
 	return FALSE;
     }
 






More information about the wine-patches mailing list