mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
[rapps]
Andrey Yastrebov <[email protected]> - Fix app uninstallation feature (wrong lparam usage - it's pointer to PINSTALLED_INFO and not an hkey). See issue #4961 for more details. svn path=/trunk/; revision=44225
This commit is contained in:
@@ -89,6 +89,7 @@ UninstallApplication(INT Index, BOOL bModify)
|
||||
INT ItemIndex;
|
||||
LVITEM Item;
|
||||
HKEY hKey;
|
||||
PINSTALLED_INFO ItemInfo;
|
||||
|
||||
if (!IS_INSTALLED_ENUM(SelectedEnumType))
|
||||
return FALSE;
|
||||
@@ -114,7 +115,8 @@ UninstallApplication(INT Index, BOOL bModify)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user