Module: wine Branch: master Commit: 7adad427454e60cf9513d47309a462f71a9b737f URL: http://source.winehq.org/git/wine.git/?a=commit;h=7adad427454e60cf9513d47309...
Author: Andrew Eikum aeikum@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))