CoGetClassObject should complain about not being able to do
out-of-process servers *only* if the application doesn't include the in-process options.
This commit is contained in:
parent
077ec0cffd
commit
d93c7bca23
|
@ -1320,7 +1320,8 @@ HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* out of process and remote servers not supported yet */
|
/* out of process and remote servers not supported yet */
|
||||||
if ((CLSCTX_LOCAL_SERVER|CLSCTX_REMOTE_SERVER) & dwClsContext) {
|
if (((CLSCTX_LOCAL_SERVER|CLSCTX_REMOTE_SERVER) & dwClsContext)
|
||||||
|
&& !((CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER) & dwClsContext)){
|
||||||
FIXME("CLSCTX_LOCAL_SERVER and CLSCTX_REMOTE_SERVER not supported!\n");
|
FIXME("CLSCTX_LOCAL_SERVER and CLSCTX_REMOTE_SERVER not supported!\n");
|
||||||
return E_ACCESSDENIED;
|
return E_ACCESSDENIED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue