updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / wine-lol / ole-force-inproc-instead-of-local.patch
blob54f27eab18218310b5348ac891cf50d875bba58b
1 commit 3ed9efa63394e500e9a7a4dbbe14303da8086f6c
2 Author: Jan Zerebecki <jan.wine@zerebecki.de>
3 Date: 2010-01-11 20:18:43 +0100
5 ole32: force inproc instead of local server
7 diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
8 index 583a9cb..c23de80 100644
9 --- a/dlls/ole32/compobj.c
10 +++ b/dlls/ole32/compobj.c
11 @@ -2261,6 +2261,11 @@ HRESULT WINAPI CoGetClassObject(
13 TRACE("CLSID: %s,IID: %s\n", debugstr_guid(rclsid), debugstr_guid(iid));
15 + if(CLSCTX_LOCAL_SERVER == dwClsContext) {
16 + dwClsContext = CLSCTX_INPROC_SERVER;
17 + WARN("forcing CLSCTX_INPROC_SERVER instead of CLSCTX_LOCAL_SERVER\n");
18 + }
20 if (!ppv)
21 return E_INVALIDARG;