user32/tests: Check return value of DdeClientTransaction in test_initialisation().

This commit is contained in:
Austin English 2010-05-22 03:17:37 -05:00 committed by Alexandre Julliard
parent 8ee8806773
commit 5396713c2b
1 changed files with 1 additions and 0 deletions

View File

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