Piotr Caban : oleview: Add dual interfaces support to coclasses.
Alexandre Julliard
julliard at winehq.org
Mon Apr 14 07:14:08 CDT 2008
Module: wine
Branch: master
Commit: 0701ddb6653c7bba67dca56f0bf2e845bbdbbac5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0701ddb6653c7bba67dca56f0bf2e845bbdbbac5
Author: Piotr Caban <piotr.caban at gmail.com>
Date: Fri Apr 11 22:57:17 2008 +0200
oleview: Add dual interfaces support to coclasses.
---
programs/oleview/typelib.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c
index 626abea..8143906 100644
--- a/programs/oleview/typelib.c
+++ b/programs/oleview/typelib.c
@@ -833,7 +833,8 @@ static void EnumCoclassImplTypes(ITypeInfo *pTypeInfo,
AddToTLDataStrW(pTLData, wszSpace);
}
- if(pTypeAttr->typekind == TKIND_INTERFACE)
+ if(pTypeAttr->typekind == TKIND_INTERFACE ||
+ (pTypeAttr->wTypeFlags & TYPEFLAG_FDUAL))
AddToTLDataStrW(pTLData, wszTKIND_INTERFACE);
else if(pTypeAttr->typekind == TKIND_DISPATCH)
AddToTLDataStrW(pTLData, wszTKIND_DISPATCH);
More information about the wine-cvs
mailing list