Author: fireball
Date: Wed Nov 18 15:37:31 2009
New Revision: 44225
URL:
http://svn.reactos.org/svn/reactos?rev=44225&view=rev
Log:
[rapps]
Andrey Yastrebov <menone7(a)gmail.com>
- Fix app uninstallation feature (wrong lparam usage - it's pointer to PINSTALLED_INFO
and not an hkey).
See issue #4961 for more details.
Modified:
trunk/reactos/base/applications/rapps/installed.c
Modified: trunk/reactos/base/applications/rapps/installed.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/in…
==============================================================================
--- trunk/reactos/base/applications/rapps/installed.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/installed.c [iso-8859-1] Wed Nov 18 15:37:31
2009
@@ -89,6 +89,7 @@
INT ItemIndex;
LVITEM Item;
HKEY hKey;
+ PINSTALLED_INFO ItemInfo;
if (!IS_INSTALLED_ENUM(SelectedEnumType))
return FALSE;
@@ -114,7 +115,8 @@
if (!ListView_GetItem(hListView, &Item))
return FALSE;
- hKey = (HKEY)Item.lParam;
+ ItemInfo = (PINSTALLED_INFO)Item.lParam;
+ hKey = ItemInfo->hSubKey;
dwType = REG_SZ;
dwSize = MAX_PATH;