oleaut32: Do no check for dispatchable flag on dual interfaces.

This commit is contained in:
Sunil Mohan Adapa 2009-11-10 10:11:46 +05:30 committed by Alexandre Julliard
parent 926b884cd6
commit 59ae1705ac
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}