oleaut32: Fix ITypeInfo GetImplTypeFlags for dispinterfaces.

This commit is contained in:
Piotr Caban 2010-03-17 22:05:36 +01:00 committed by Alexandre Julliard
parent cca98c460d
commit d2319ae841
1 changed files with 5 additions and 0 deletions

View File

@ -5581,6 +5581,11 @@ static HRESULT WINAPI ITypeInfo_fnGetImplTypeFlags( ITypeInfo2 *iface,
return S_OK;
}
*pImplTypeFlags=0;
if(This->TypeAttr.typekind==TKIND_DISPATCH && !index)
return S_OK;
WARN("ImplType %d not found\n", index);
return TYPE_E_ELEMENTNOTFOUND;
}