Commit 59ae1705 authored by Sunil Mohan Adapa's avatar Sunil Mohan Adapa Committed by Alexandre Julliard

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

parent 926b884c
...@@ -5503,8 +5503,7 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeOfImplType( ...@@ -5503,8 +5503,7 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeOfImplType(
*/ */
if( This->TypeAttr.typekind != TKIND_DISPATCH) return E_INVALIDARG; if( This->TypeAttr.typekind != TKIND_DISPATCH) return E_INVALIDARG;
if (This->TypeAttr.wTypeFlags & TYPEFLAG_FDISPATCHABLE && if (This->TypeAttr.wTypeFlags & TYPEFLAG_FDUAL)
This->TypeAttr.wTypeFlags & TYPEFLAG_FDUAL )
{ {
*pRefType = -1; *pRefType = -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment