Commit 1103a241 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ieframe: DdeNameService returns NULL on error.

parent 4b24fce4
......@@ -1008,9 +1008,8 @@ static void init_dde(void)
if(!ddestr_openurl)
WARN("Failed to create string handle: %u\n", DdeGetLastError(dde_inst));
res = HandleToULong(DdeNameService(dde_inst, ddestr_iexplore, 0, DNS_REGISTER));
if(res != DMLERR_NO_ERROR)
WARN("DdeNameService failed: %u\n", res);
if(!DdeNameService(dde_inst, ddestr_iexplore, 0, DNS_REGISTER))
WARN("DdeNameService failed\n");
}
static void release_dde(void)
......
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