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.
This commit is contained in:
Robert Shearman 2006-02-23 19:02:00 +00:00 committed by Alexandre Julliard
parent 7fbca4c111
commit f4a8ba9548

View file

@ -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) */