oleview: Initialize TVITEM.lParam to NULL in EnumFuncs.

This commit is contained in:
Dan Hipschman 2006-08-01 10:49:25 -07:00 committed by Alexandre Julliard
parent 26baab3564
commit 10d552b22e
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ int EnumFuncs(ITypeInfo *pTypeInfo, int cFuncs, HTREEITEM hParent)
U(tvis).item.cchTextMax = SysStringLen(bstrName);
U(tvis).item.pszText = bstrName;
U(tvis).item.lParam = 0;
SendMessage(typelib.hTree, TVM_INSERTITEM, 0, (LPARAM)&tvis);
SysFreeString(bstrName);