From 10d552b22ef60a755584cf9e980c52beb8e50731 Mon Sep 17 00:00:00 2001 From: Dan Hipschman Date: Tue, 1 Aug 2006 10:49:25 -0700 Subject: [PATCH] oleview: Initialize TVITEM.lParam to NULL in EnumFuncs. --- programs/oleview/typelib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c index 7f32cfe4626..db28545ec72 100644 --- a/programs/oleview/typelib.c +++ b/programs/oleview/typelib.c @@ -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);