From dc0d29c70843da710ccd448c19a9802345e41794 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Wed, 9 Apr 2008 21:25:57 +0200 Subject: [PATCH] oleview: Hide functions without id property in dual interfaces. --- programs/oleview/typelib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c index 0759b217f89..4c58c4e6fa7 100644 --- a/programs/oleview/typelib.c +++ b/programs/oleview/typelib.c @@ -517,6 +517,8 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen TYPELIB_DATA *tld; if(FAILED(ITypeInfo_GetFuncDesc(pTypeInfo, i, &pFuncDesc))) continue; + if(pTypeAttr->wTypeFlags & TYPEFLAG_FDUAL && pFuncDesc->memid >= MIN_FUNC_ID) continue; + if(FAILED(ITypeInfo_GetDocumentation(pTypeInfo, pFuncDesc->memid, &bstrName, &bstrHelpString, NULL, NULL))) continue;