user32/tests: check return value of DdeClientTransaction in test_initialisation()
Austin English
austinenglish at gmail.com
Sat May 22 03:17:37 CDT 2010
On Sat, May 22, 2010 at 3:17 AM, Austin English <austinenglish at gmail.com> wrote:
> Passes WTB (Win98 failures were already there):
> https://testbot.winehq.org/JobDetails.pl?Key=2249
>
> --
> -Austin
-------------- next part --------------
diff --git a/dlls/user32/tests/dde.c b/dlls/user32/tests/dde.c
index 3a0d656..92bee45 100644
--- a/dlls/user32/tests/dde.c
+++ b/dlls/user32/tests/dde.c
@@ -1447,6 +1447,7 @@ static void test_initialisation(void)
res = 0xdeadbeef;
DdeGetLastError(client_pid);
hdata = DdeClientTransaction(NULL, 0, conversation, item, CF_TEXT, XTYP_REQUEST, default_timeout, &res);
+ ok(hdata == NULL, "Expected NULL, got %p\n", hdata);
ret = DdeGetLastError(client_pid);
todo_wine
ok(ret == DMLERR_INVALIDPARAMETER, "Expected DMLERR_INVALIDPARAMETER, got %d\n", ret);
More information about the wine-patches
mailing list