Commit 5396713c authored by Austin English's avatar Austin English Committed by Alexandre Julliard

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

parent 8ee88067
...@@ -1447,6 +1447,7 @@ static void test_initialisation(void) ...@@ -1447,6 +1447,7 @@ static void test_initialisation(void)
res = 0xdeadbeef; res = 0xdeadbeef;
DdeGetLastError(client_pid); DdeGetLastError(client_pid);
hdata = DdeClientTransaction(NULL, 0, conversation, item, CF_TEXT, XTYP_REQUEST, default_timeout, &res); 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); ret = DdeGetLastError(client_pid);
todo_wine todo_wine
ok(ret == DMLERR_INVALIDPARAMETER, "Expected DMLERR_INVALIDPARAMETER, got %d\n", ret); ok(ret == DMLERR_INVALIDPARAMETER, "Expected DMLERR_INVALIDPARAMETER, got %d\n", ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment