Commit f4a8ba95 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ole: Fallthrough from local activation in CoGetClassObject.

If local-server or local-service activation doesn't work in CoGetClassObject then fallthrough instead of returning from the function.
parent 7fbca4c1
......@@ -1695,7 +1695,9 @@ HRESULT WINAPI CoGetClassObject(
/* Next try out of process */
if (CLSCTX_LOCAL_SERVER & dwClsContext)
{
return RPC_GetLocalClassObject(rclsid,iid,ppv);
hres = RPC_GetLocalClassObject(rclsid,iid,ppv);
if (SUCCEEDED(hres))
return hres;
}
/* Finally try remote: this requires networked DCOM (a lot of work) */
......
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