MANAGEDAPPLICATION structure (appmgmt.h)
The MANAGEDAPPLICATION structure contains information about an application. The function GetManagedApplications returns an array of MANAGEDAPPLICATION structures.
Syntax
typedef struct _MANAGEDAPPLICATION {
LPWSTR pszPackageName;
LPWSTR pszPublisher;
DWORD dwVersionHi;
DWORD dwVersionLo;
DWORD dwRevision;
GUID GpoId;
LPWSTR pszPolicyName;
GUID ProductId;
LANGID Language;
LPWSTR pszOwner;
LPWSTR pszCompany;
LPWSTR pszComments;
LPWSTR pszContact;
LPWSTR pszSupportUrl;
DWORD dwPathType;
BOOL bInstalled;
} MANAGEDAPPLICATION, *PMANAGEDAPPLICATION;
Members
pszPackageName
The user-friendly name of the application.
pszPublisher
The name of the application's publisher.
dwVersionHi
The major version number of the application.
dwVersionLo
The minor version number of the application.
dwRevision
The version number of the deployment. The version changes each time an application gets patched.
GpoId
The GUID of the GPO from which this application is deployed.
pszPolicyName
The user-friendly name for the GPO from which this application is deployed.
ProductId
If this application is installed by Windows Installer, this member is the ProductId GUID.
Language
The numeric language identifier that indicates the language version of the application. For a list of language numeric identifiers, see the Language Identifier Constants and Strings topic.
pszOwner
This member is unused.
pszCompany
This member is unused.
pszComments
This member is unused.
pszContact
This member is unused.
pszSupportUrl
This member is unused.
dwPathType
Indicates the type of package used to install the application. This member can have one of the following values.
MANAGED_APPTYPE_WINDOWSINSTALLER
The application is installed using the Windows Installer.
MANAGED_APPTYPE_SETUPEXE
The application is installed using a legacy setup application.
MANAGED_APPTYPE_UNSUPPORTED
The application is installed by an unsupported setup application.
bInstalled
This parameter is TRUE if the application is currently installed and is FALSE otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | appmgmt.h |