Set last DDE error in XTYP_EXECUTE handler according to the value

returned by an application.
This commit is contained in:
Dmitry Timoshkov 2004-06-14 16:58:19 +00:00 committed by Alexandre Julliard
parent 411aee581e
commit 752de682c9
1 changed files with 3 additions and 0 deletions

View File

@ -694,6 +694,9 @@ static WDML_QUEUE_STATE WDML_HandleExecuteReply(WDML_CONV* pConv, MSG* msg, WDML
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;
}