Set last DDE error in XTYP_EXECUTE handler according to the value returned by an application

Dmitry Timoshkov dmitry at baikal.ru
Fri Jun 11 02:21:13 CDT 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Set last DDE error in XTYP_EXECUTE handler according to the value
    returned by an application.

--- cvs/hq/wine/dlls/user/dde/client.c	2004-05-01 18:19:05.000000000 +0900
+++ wine/dlls/user/dde/client.c	2004-06-11 15:33:17.000000000 +0900
@@ -694,6 +694,9 @@ static WDML_QUEUE_STATE WDML_HandleExecu
     WDML_ExtractAck(uiLo, &ddeAck);
     pXAct->hDdeData = (HDDEDATA)(UINT_PTR)ddeAck.fAck;
 
+    TRACE("hDdeData = %p\n", pXAct->hDdeData);
+    pConv->instance->lastError = (pXAct->hDdeData != 0) ? DMLERR_NO_ERROR : DMLERR_NOTPROCESSED;
+
     return WDML_QS_HANDLED;
 }
 






More information about the wine-patches mailing list