oleview: Add dual interfaces support to coclasses.

This commit is contained in:
Piotr Caban 2008-04-11 22:57:17 +02:00 committed by Alexandre Julliard
parent d2fa765087
commit 0701ddb665
1 changed files with 2 additions and 1 deletions

View File

@ -833,7 +833,8 @@ static void EnumCoclassImplTypes(ITypeInfo *pTypeInfo,
AddToTLDataStrW(pTLData, wszSpace); AddToTLDataStrW(pTLData, wszSpace);
} }
if(pTypeAttr->typekind == TKIND_INTERFACE) if(pTypeAttr->typekind == TKIND_INTERFACE ||
(pTypeAttr->wTypeFlags & TYPEFLAG_FDUAL))
AddToTLDataStrW(pTLData, wszTKIND_INTERFACE); AddToTLDataStrW(pTLData, wszTKIND_INTERFACE);
else if(pTypeAttr->typekind == TKIND_DISPATCH) else if(pTypeAttr->typekind == TKIND_DISPATCH)
AddToTLDataStrW(pTLData, wszTKIND_DISPATCH); AddToTLDataStrW(pTLData, wszTKIND_DISPATCH);