Module: wine Branch: master Commit: 59ae1705ac469d9df75cd5bd6b54761b600217fe URL: http://source.winehq.org/git/wine.git/?a=commit;h=59ae1705ac469d9df75cd5bd6b... Author: Sunil Mohan Adapa <sunilmohan(a)fsf.org.in> Date: Tue Nov 10 10:29:46 2009 +0530 oleaut32: Do no check for dispatchable flag on dual interfaces. --- dlls/oleaut32/typelib.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 772c2cf..07447f2 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -5503,8 +5503,7 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeOfImplType( */ if( This->TypeAttr.typekind != TKIND_DISPATCH) return E_INVALIDARG; - if (This->TypeAttr.wTypeFlags & TYPEFLAG_FDISPATCHABLE && - This->TypeAttr.wTypeFlags & TYPEFLAG_FDUAL ) + if (This->TypeAttr.wTypeFlags & TYPEFLAG_FDUAL) { *pRefType = -1; }