mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:12:59 +00:00
[RAPPS] CMainWindow: Make EnumInstalledAppProc and EnumAvailableAppProc methods
This commit is contained in:
parent
d8b773b190
commit
700f54c37b
6 changed files with 36 additions and 25 deletions
|
@ -129,7 +129,7 @@ VOID RemoveAppFromRegistry(INT Index)
|
|||
}
|
||||
}
|
||||
|
||||
BOOL EnumInstalledApplications(INT EnumType, BOOL IsUserKey, APPENUMPROC lpEnumProc)
|
||||
BOOL EnumInstalledApplications(INT EnumType, BOOL IsUserKey, APPENUMPROC lpEnumProc, PVOID param)
|
||||
{
|
||||
DWORD dwSize = MAX_PATH, dwType, dwValue;
|
||||
BOOL bIsSystemComponent, bIsUpdate;
|
||||
|
@ -199,7 +199,7 @@ BOOL EnumInstalledApplications(INT EnumType, BOOL IsUserKey, APPENUMPROC lpEnumP
|
|||
((EnumType == ENUM_INSTALLED_APPLICATIONS) && (!bIsUpdate)) || /* Applications only */
|
||||
((EnumType == ENUM_UPDATES) && (bIsUpdate))) /* Updates only */
|
||||
{
|
||||
if (!lpEnumProc(ItemIndex, szDisplayName, &Info))
|
||||
if (!lpEnumProc(ItemIndex, szDisplayName, &Info, param))
|
||||
break;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue