Package constants

Specifies how packages are to be processed.

Constant/valueDescription
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_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_INFORMATION_BASIC
0x00000000

Retrieve basic information.

PACKAGE_INFORMATION_FULL
0x00000100

Retrieve full information.

PACKAGE_PROPERTY_FRAMEWORK
0x00000001

The package is a framework.

PACKAGE_MIN_DEPENDENCIES
0

The minimum number of packages a package depends on.

PACKAGE_MAX_DEPENDENCIES
128

The maximum number of packages a package depends on.

PACKAGE_FAMILY_MIN_RESOURCE_PACKAGES
0

The minimum number of resource packages a package can have.

PACKAGE_FAMILY_MAX_RESOURCE_PACKAGES
512

The maximum number of resource packages a package can have.

PACKAGE_GRAPH_MIN_SIZE
1

The minimum size of a package graph.

PACKAGE_GRAPH_MAX_SIZE
(1 + PACKAGE_MAX_DEPENDENCIES + PACKAGE_FAMILY_MAX_RESOURCE_PACKAGES)

The maximum size of a package graph.

PACKAGE_APPLICATIONS_MIN_COUNT
0

The minimum number of apps in a package.

PACKAGE_APPLICATIONS_MAX_COUNT
100

The maximum number of apps in a package.

PACKAGE_RELATIVE_APPLICATION_ID_MIN_LENGTH
(1 + 1)

The minimum length of the package-relative app ID string. This length is measured in characters and includes space for the NULL terminator.

PACKAGE_RELATIVE_APPLICATION_ID_MAX_LENGTH
(64 + 1)

The maximum length of the package-relative app ID string. This length is measured in characters and includes space for the NULL terminator.

APPLICATION_USER_MODEL_ID_MIN_LENGTH
(PACKAGE_FAMILY_NAME_MIN_LENGTH + 1 + \ PACKAGE_RELATIVE_APPLICATION_ID_MIN_LENGTH)

The minimum length of the app user model ID string. This length is measured in characters and includes space for the NULL terminator.

APPLICATION_USER_MODEL_ID_MAX_LENGTH
(PACKAGE_FAMILY_NAME_MAX_LENGTH + 1 + \ PACKAGE_RELATIVE_APPLICATION_ID_MAX_LENGTH)

The maximum length of the app user model ID string. This length is measured in characters and includes space for the NULL terminator.

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:
© 2014 Microsoft