Roman Dadkov : ole32: Fix dwClsContext parameter of a CoCreateInstance call in DefaultHandler_Run .

Alexandre Julliard julliard at winehq.org
Wed Oct 10 15:07:53 CDT 2012


Module: wine
Branch: master
Commit: 9e145eebdfbaa0fee22ff8c4eb7c33da67040981
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9e145eebdfbaa0fee22ff8c4eb7c33da67040981

Author: Roman Dadkov <romand at etersoft.ru>
Date:   Tue Oct  9 14:49:50 2012 +0400

ole32: Fix dwClsContext parameter of a CoCreateInstance call in DefaultHandler_Run.

---

 dlls/ole32/defaulthandler.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/defaulthandler.c b/dlls/ole32/defaulthandler.c
index 577d976..b4e8203 100644
--- a/dlls/ole32/defaulthandler.c
+++ b/dlls/ole32/defaulthandler.c
@@ -1322,7 +1322,7 @@ static HRESULT WINAPI DefaultHandler_Run(
 
   release_delegates(This);
 
-  hr = CoCreateInstance(&This->clsid, NULL, CLSCTX_LOCAL_SERVER,
+  hr = CoCreateInstance(&This->clsid, NULL, CLSCTX_ALL,
                         &IID_IOleObject, (void **)&This->pOleDelegate);
   if (FAILED(hr))
     return hr;




More information about the wine-cvs mailing list