user32: The server should release data sent with WM_DDE_POKE.
This commit is contained in:
parent
9f3f51bad7
commit
dbad0ee626
@ -725,7 +725,7 @@ static WDML_XACT* WDML_ClientQueuePoke(WDML_CONV* pConv, LPVOID pData, DWORD cbD
|
|||||||
if (ddePoke)
|
if (ddePoke)
|
||||||
{
|
{
|
||||||
memcpy(ddePoke->Value, pData, cbData);
|
memcpy(ddePoke->Value, pData, cbData);
|
||||||
ddePoke->fRelease = FALSE; /* FIXME: app owned ? */
|
ddePoke->fRelease = TRUE;
|
||||||
ddePoke->cfFormat = wFmt;
|
ddePoke->cfFormat = wFmt;
|
||||||
GlobalUnlock(pXAct->hMem);
|
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
|
if (msg_index == 7) todo_wine
|
||||||
{
|
{
|
||||||
ok(poke->unused == 0, "Expected 0, got %d\n", poke->unused);
|
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->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)
|
if (msg_index == 5)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user