Commit dbad0ee6 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

user32: The server should release data sent with WM_DDE_POKE.

parent 9f3f51ba
......@@ -725,7 +725,7 @@ static WDML_XACT* WDML_ClientQueuePoke(WDML_CONV* pConv, LPVOID pData, DWORD cbD
if (ddePoke)
{
memcpy(ddePoke->Value, pData, cbData);
ddePoke->fRelease = FALSE; /* FIXME: app owned ? */
ddePoke->fRelease = TRUE;
ddePoke->cfFormat = wFmt;
GlobalUnlock(pXAct->hMem);
}
......
......@@ -176,12 +176,8 @@ static LRESULT WINAPI dde_server_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPA
if (msg_index == 7) todo_wine
{
ok(poke->unused == 0, "Expected 0, got %d\n", poke->unused);
ok(poke->cfFormat == CF_TEXT, "Expected CF_TEXT, got %d\n", poke->cfFormat);
}
todo_wine
{
ok(poke->fRelease == TRUE, "Expected TRUE, got %d\n", poke->fRelease);
ok(poke->cfFormat == CF_TEXT, "Expected CF_TEXT, got %d\n", poke->cfFormat);
}
if (msg_index == 5)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment