oleview: Initialize TVITEM.lParam to NULL in EnumFuncs.
This commit is contained in:
parent
26baab3564
commit
10d552b22e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue