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

This commit is contained in:
Dmitry Timoshkov 2005-11-11 10:53:44 +00:00 committed by Alexandre Julliard
parent 182cabea90
commit 6b379c8c2c
1 changed files with 3 additions and 3 deletions

View File

@ -198,7 +198,7 @@ HCONV WINAPI DdeConnect(DWORD idInst, HSZ hszService, HSZ hszTopic,
pConv = WDML_GetConvFromWnd(hwndClient); pConv = WDML_GetConvFromWnd(hwndClient);
if (pConv == NULL || pConv->hwndServer == 0) 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; pConv = NULL;
goto theEnd; goto theEnd;
} }
@ -1118,7 +1118,7 @@ HDDEDATA WINAPI DdeClientTransaction(LPBYTE pData, DWORD cbData, HCONV hConv, HS
if (hConv == 0) if (hConv == 0)
{ {
ERR("Invalid conversation handle\n"); WARN("Invalid conversation handle NULL\n");
return 0; return 0;
} }
@ -1376,7 +1376,7 @@ BOOL WINAPI DdeDisconnect(HCONV hConv)
if (hConv == 0) if (hConv == 0)
{ {
ERR("DdeDisconnect(): hConv = 0\n"); WARN("DdeDisconnect(): hConv = 0\n");
return FALSE; return FALSE;
} }