Skip to content
Snippets Groups Projects
Commit 46fceb19 authored by Martin Fuchs's avatar Martin Fuchs Committed by Alexandre Julliard
Browse files

Set error code ERROR_DDE_FAIL if the DDE connection failed in

ShellExecute().
parent 2faaf226
No related branches found
No related tags found
No related merge requests found
......@@ -540,8 +540,9 @@ static unsigned dde_connect(WCHAR* key, WCHAR* start, WCHAR* ddeexec,
if (!hConv)
{
TRACE("Couldn't connect. ret=%d\n", ret);
ret = 30; /* whatever */
goto error;
DdeUninitialize(ddeInst);
SetLastError(ERROR_DDE_FAIL);
return 30; /* whatever */
}
strcpyW(endkey, wIfexec);
ifexeclen = sizeof(ifexec)/sizeof(WCHAR);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment