James Hawkins : user32: The server should release data sent with WM_DDE_POKE.
Alexandre Julliard
julliard at winehq.org
Tue Oct 16 07:59:33 CDT 2007
Module: wine
Branch: master
Commit: dbad0ee62651a2d0b4308a091a07c688feabe147
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dbad0ee62651a2d0b4308a091a07c688feabe147
Author: James Hawkins <truiken at gmail.com>
Date: Fri Oct 12 00:13:49 2007 -0500
user32: The server should release data sent with WM_DDE_POKE.
---
dlls/user32/dde_client.c | 2 +-
dlls/user32/tests/dde.c | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/dlls/user32/dde_client.c b/dlls/user32/dde_client.c
index 50b00fa..cb9fbc8 100644
--- a/dlls/user32/dde_client.c
+++ b/dlls/user32/dde_client.c
@@ -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);
}
diff --git a/dlls/user32/tests/dde.c b/dlls/user32/tests/dde.c
index 3ecab1f..cea7846 100644
--- a/dlls/user32/tests/dde.c
+++ b/dlls/user32/tests/dde.c
@@ -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)
More information about the wine-cvs
mailing list