Data Structures | Defines | Functions

Software APIs

Data Structures

struct  PSOFTWARE_RECORD
 Structure to hold names of installed programs. More...
struct  PSOFTWARE_LIST

Defines

#define MAX_SOFTWARE_RECORDS   1000
#define MAX_SOFTWARE_NAME_LEN   128
#define MAX_USER_NAME_LEN   64

Functions

SYSINFO_API int SysInfoDll_GetInstalledProgramsSystem (SOFTWARE_LIST *swl)
 Gets an array of all software installed on the system.
SYSINFO_API int SysInfoDll_GetInstalledProgramsUser (SOFTWARE_LIST *swl)
 Gets an array of the software installed on the system for the current user.
SYSINFO_API int SysInfoDll_GetInstalledAppsSystem (SOFTWARE_LIST *swl)
 Gets an array of the apps installed on the system.
SYSINFO_API int SysInfoDll_GetInstalledAppsUser (SOFTWARE_LIST *swl)
 Gets an array of the apps installed on the system for the current user.
SYSINFO_API void SysInfoDll_GetInstalledPrograms_ReleaseMem (SOFTWARE_LIST *swl)
 Release any memory allcoated by SysInfoDll_GetInstalledProgramsSystem() or SysInfoDll_GetInstalledProgramsUser().

Define Documentation

#define MAX_SOFTWARE_RECORDS   1000
#define MAX_SOFTWARE_NAME_LEN   128
#define MAX_USER_NAME_LEN   64

Function Documentation

SYSINFO_API int SysInfoDll_GetInstalledProgramsSystem ( SOFTWARE_LIST swl  ) 

Gets an array of all software installed on the system.

Parameters:
[in] swl,: pointer to a software list structure. The memory for the SOFTWARE_RECORD entries in the SOFTWARE_LIST is allocated internally by this function. Call SysInfoDll_GetInstalledPrograms_ReleaseMem to release this memory when done.
Returns:
Number of software packages installed
SYSINFO_API int SysInfoDll_GetInstalledProgramsUser ( SOFTWARE_LIST swl  ) 

Gets an array of the software installed on the system for the current user.

Parameters:
[in] swl,: pointer to a software list structure. The memory for the SOFTWARE_RECORD entries in the SOFTWARE_LIST is allocated internally by this function. Call SysInfoDll_GetInstalledPrograms_ReleaseMem to release this memory when done.
Returns:
Number of software packages installed
SYSINFO_API int SysInfoDll_GetInstalledAppsSystem ( SOFTWARE_LIST swl  ) 

Gets an array of the apps installed on the system.

Parameters:
[in] swl,: pointer to a software list structure. The memory for the SOFTWARE_RECORD entries in the SOFTWARE_LIST is allocated internally by this function. Call SysInfoDll_GetInstalledPrograms_ReleaseMem to release this memory when done.
Returns:
Number of software packages installed
SYSINFO_API int SysInfoDll_GetInstalledAppsUser ( SOFTWARE_LIST swl  ) 

Gets an array of the apps installed on the system for the current user.

Parameters:
[in] swl,: pointer to a software list structure. The memory for the SOFTWARE_RECORD entries in the SOFTWARE_LIST is allocated internally by this function. Call SysInfoDll_GetInstalledPrograms_ReleaseMem to release this memory when done.
Returns:
Number of software packages installed
SYSINFO_API void SysInfoDll_GetInstalledPrograms_ReleaseMem ( SOFTWARE_LIST swl  ) 

Release any memory allcoated by SysInfoDll_GetInstalledProgramsSystem() or SysInfoDll_GetInstalledProgramsUser().

Parameters:
[in] swl,: pointer to a software list structure.
Returns:
Number of strings
 All Data Structures Files Functions Variables Enumerations Enumerator Defines