LOCALMANAGEDAPPLICATION structure (appmgmt.h)

The LOCALMANAGEDAPPLICATION structure describes a managed application installed for a user or a computer. Returned by the GetLocalManagedApplications function.

Syntax

typedef struct _LOCALMANAGEDAPPLICATION {
  LPWSTR pszDeploymentName;
  LPWSTR pszPolicyName;
  LPWSTR pszProductId;
  DWORD  dwState;
} LOCALMANAGEDAPPLICATION, *PLOCALMANAGEDAPPLICATION;

Members

pszDeploymentName

This is a Unicode string that gives the user friendly name of the application as it appears in the Application Deployment Editor (ADE).

pszPolicyName

This is the user-friendly name of the group policy object (GPO) from which the application originates.

pszProductId

This is a Unicode string that gives the Windows Installer product code GUID for the application.

dwState

Indicates the state of the installed application. This parameter can contain one or more of the following values.

LOCAL_STATE_ASSIGNED

The application is installed in the assigned state.

LOCAL_STATE_PUBLISHED

The application is installed in the published state.

LOCAL_STATE_UNINSTALL_UNMANAGED

The installation of this application uninstalled an unmanaged application with a conflicting transform.

LOCAL_STATE_POLICYREMOVE_ORPHAN

If the policy from which this application originates is removed, the application is left on the computer.

LOCAL_STATE_POLICYREMOVE_UNINSTALL

If the policy from which this application originates is removed, the application is uninstalled from the computer.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header appmgmt.h

See also

Group Policy Overview

Group Policy Structures