user32: The server should release data sent with WM_DDE_POKE.

This commit is contained in:
James Hawkins 2007-10-12 00:13:49 -05:00 committed by Alexandre Julliard
parent 9f3f51bad7
commit dbad0ee626
2 changed files with 2 additions and 6 deletions

View file

@ -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);
}

View file

@ -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)