oleview: Hide functions without id property in dual interfaces.

This commit is contained in:
Piotr Caban 2008-04-09 21:25:57 +02:00 committed by Alexandre Julliard
parent bd4437f18f
commit dc0d29c708
1 changed files with 2 additions and 0 deletions
programs/oleview

View File

@ -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;