Commit b7e81d3e authored by Jeff Latimer's avatar Jeff Latimer Committed by Alexandre Julliard

user32: Check for invalid conversation and return the correct error.

parent 544c1e5c
...@@ -191,6 +191,7 @@ HCONV WINAPI DdeConnect(DWORD idInst, HSZ hszService, HSZ hszTopic, ...@@ -191,6 +191,7 @@ HCONV WINAPI DdeConnect(DWORD idInst, HSZ hszService, HSZ hszTopic,
{ {
WARN("Done with INITIATE, but no Server window available\n"); WARN("Done with INITIATE, but no Server window available\n");
pConv = NULL; pConv = NULL;
pInstance->lastError = DMLERR_NO_CONV_ESTABLISHED;
goto theEnd; goto theEnd;
} }
TRACE("Connected to Server window (%p)\n", pConv->hwndServer); TRACE("Connected to Server window (%p)\n", pConv->hwndServer);
......
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