mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:36:21 +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
|
@ -79,7 +79,7 @@ private:
|
|||
inline BOOL FindInLanguages(LCID what) const;
|
||||
};
|
||||
|
||||
typedef BOOL(CALLBACK *AVAILENUMPROC)(CAvailableApplicationInfo *Info, LPCWSTR szFolderPath);
|
||||
typedef BOOL(CALLBACK *AVAILENUMPROC)(CAvailableApplicationInfo *Info, LPCWSTR szFolderPath, PVOID param);
|
||||
|
||||
struct AvailableStrings
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ public:
|
|||
static VOID DeleteCurrentAppsDB();
|
||||
|
||||
VOID FreeCachedEntries();
|
||||
BOOL Enum(INT EnumType, AVAILENUMPROC lpEnumProc);
|
||||
BOOL Enum(INT EnumType, AVAILENUMPROC lpEnumProc, PVOID param);
|
||||
|
||||
CAvailableApplicationInfo* FindInfo(const ATL::CStringW& szAppName) const;
|
||||
ATL::CSimpleArray<CAvailableApplicationInfo> FindInfoList(const ATL::CSimpleArray<ATL::CStringW> &arrAppsNames) const;
|
||||
|
|
|
@ -13,9 +13,9 @@ struct INSTALLED_INFO
|
|||
};
|
||||
|
||||
typedef INSTALLED_INFO *PINSTALLED_INFO;
|
||||
typedef BOOL(CALLBACK *APPENUMPROC)(INT ItemIndex, ATL::CStringW &Name, PINSTALLED_INFO Info);
|
||||
typedef BOOL(CALLBACK *APPENUMPROC)(INT ItemIndex, ATL::CStringW &Name, PINSTALLED_INFO Info, PVOID param);
|
||||
|
||||
BOOL EnumInstalledApplications(INT EnumType, BOOL IsUserKey, APPENUMPROC lpEnumProc);
|
||||
BOOL EnumInstalledApplications(INT EnumType, BOOL IsUserKey, APPENUMPROC lpEnumProc, PVOID param);
|
||||
BOOL GetApplicationString(HKEY hKey, LPCWSTR lpKeyName, LPWSTR szString);
|
||||
|
||||
BOOL UninstallApplication(INT Index, BOOL bModify);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue