[PATCH 4/5] oleaut32: Use implementation bitflag in href
Andrew Eikum
aeikum at codeweavers.com
Wed Jun 5 07:57:33 CDT 2013
---
We don't use this flag, but it'll fix hreftype values in the tests.
dlls/oleaut32/typelib.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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))
--
1.8.3
More information about the wine-patches
mailing list