Andrew Eikum : oleaut32: Use implementation bitflag in href.

Alexandre Julliard julliard at winehq.org
Wed Jun 5 13:47:02 CDT 2013


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

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Wed Jun  5 07:57:33 2013 -0500

oleaut32: Use implementation bitflag in href.

---

 dlls/oleaut32/typelib.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 69269f2..959c87b 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -6054,8 +6054,11 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeOfImplType(
     {
         if(index >= This->cImplTypes)
             hr = TYPE_E_ELEMENTNOTFOUND;
-        else
+        else{
             *pRefType = This->impltypes[index].hRef;
+            if(This->typekind == TKIND_INTERFACE)
+                *pRefType |= 0x2;
+        }
     }
 
     if(TRACE_ON(ole))




More information about the wine-cvs mailing list