From 59ae1705ac469d9df75cd5bd6b54761b600217fe Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 10 Nov 2009 10:11:46 +0530 Subject: [PATCH] oleaut32: Do no check for dispatchable flag on dual interfaces. --- dlls/oleaut32/typelib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 772c2cfd4d4..07447f2c5a2 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; }