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:
parent
7fbca4c111
commit
f4a8ba9548
@ -1695,7 +1695,9 @@ HRESULT WINAPI CoGetClassObject(
|
|||||||
/* Next try out of process */
|
/* Next try out of process */
|
||||||
if (CLSCTX_LOCAL_SERVER & dwClsContext)
|
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) */
|
/* Finally try remote: this requires networked DCOM (a lot of work) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user