Package constants

Specifies how packages are to be processed.

Constant/valueDescription
PACKAGE_APPLICATIONS_MAX_COUNT
100

The maximum number of apps in a package.

PACKAGE_APPLICATIONS_MIN_COUNT
0

The minimum number of apps in a package.

PACKAGE_FAMILY_MAX_RESOURCE_PACKAGES
512

The maximum number of resource packages a package can have.

PACKAGE_FAMILY_MIN_RESOURCE_PACKAGES
0

The minimum number of resource packages a package can have.

PACKAGE_FILTER_ALL_LOADED
0x00000000

Process all packages in the dependency graph.

This is equivalent to PACKAGE_FILTER_HEAD | PACKAGE_FILTER_DIRECT.

Note  PACKAGE_FILTER_ALL_LOADED may be altered or unavailable for releases after Windows 8.1. Instead, use PACKAGE_FILTER_HEAD | PACKAGE_FILTER_DIRECT.
 
PACKAGE_FILTER_BUNDLE
0x00000080

Process bundle packages in the package graph.

PACKAGE_FILTER_DIRECT
0x00000020

Process the directly dependent packages of the head (first) package in the dependency graph.

PACKAGE_FILTER_HEAD
0x00000010

Process the first package in the dependency graph.

PACKAGE_FILTER_OPTIONAL
0x00020000

Process bundle packages in the package graph.

PACKAGE_FILTER_RESOURCE
0x00000040

Process resource packages in the package graph.

PACKAGE_GRAPH_MAX_SIZE
(1 + PACKAGE_MAX_DEPENDENCIES + PACKAGE_FAMILY_MAX_RESOURCE_PACKAGES)

The maximum size of a package graph.

PACKAGE_GRAPH_MIN_SIZE
1

The minimum size of a package graph.

PACKAGE_INFORMATION_BASIC
0x00000000

Retrieve basic information.

PACKAGE_INFORMATION_FULL
0x00000100

Retrieve full information.

PACKAGE_MAX_DEPENDENCIES
128

The maximum number of packages a package depends on.

PACKAGE_MIN_DEPENDENCIES
0

The minimum number of packages a package depends on.

PACKAGE_PROPERTY_BUNDLE
0x00000004

The package is a bundle package.

PACKAGE_PROPERTY_DEVELOPMENT_MODE
0x00010000

The package was registered with the DeploymentOptions enumeration.

PACKAGE_PROPERTY_FRAMEWORK
0x00000001

The package is a framework.

PACKAGE_PROPERTY_OPTIONAL
0x00000008

The package is an optional package.

PACKAGE_PROPERTY_RESOURCE
0x00000002

The package is a resource package.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppModel.h

See also

GetCurrentPackageInfo
GetPackageInfo
PackageIdFromFullName

 

 

Show: