Identity constants

Specifies the length of the strings for the package's identity fields. The length is measured in characters and may or may not include space for the NULL terminator.

Note  Constants in the form: APPLICATION_USER_MODEL_ID_*_LENGTH and PACKAGE_RELATIVE_APPLICATION_ID_*_LENGTH include space for a NULL terminator, but constants in the form: PACKAGE_*_LENGTH do not include space for a NULL terminator.
 

Constant/valueDescription
APPLICATION_USER_MODEL_ID_MAX_LENGTH
130

The maximum length of the application user model ID. Space is included for the NULL terminator.

APPLICATION_USER_MODEL_ID_MIN_LENGTH
21

The minimum length of the application user model ID. Space is included for the NULL terminator.

PACKAGE_ARCHITECTURE_MAX_LENGTH
7

The maximum length of the architecture. No space included for the NULL terminator.

PACKAGE_ARCHITECTURE_MIN_LENGTH
3

The minimum length of the architecture. No space included for the NULL terminator.

PACKAGE_FAMILY_NAME_MAX_LENGTH
64

The maximum length of the family name. No space included for the NULL terminator.

PACKAGE_FAMILY_NAME_MIN_LENGTH
17

The minimum length of the family name. No space included for the NULL terminator.

PACKAGE_FULL_NAME_MAX_LENGTH
127

The maximum length of the full name. No space included for the NULL terminator.

PACKAGE_FULL_NAME_MIN_LENGTH
30

The minimum length of the full name. No space included for the NULL terminator.

PACKAGE_NAME_MAX_LENGTH
50

The maximum length of the name. No space included for the NULL terminator.

PACKAGE_NAME_MIN_LENGTH
3

The minimum length of the name. No space included for the NULL terminator.

PACKAGE_PUBLISHERID_MAX_LENGTH
13

The maximum length of the publisher ID. No space included for the NULL terminator.

PACKAGE_PUBLISHERID_MIN_LENGTH
13

The minimum length of the publisher ID. No space included for the NULL terminator.

PACKAGE_PUBLISHER_MAX_LENGTH
8192

The maximum length of the publisher. For example, CN=publisher. No space included for the NULL terminator.

PACKAGE_PUBLISHER_MIN_LENGTH
4

The minimum length of the publisher. No space included for the NULL terminator.

PACKAGE_RELATIVE_APPLICATION_ID_MAX_LENGTH
65

The maximum length of the package relative application ID. Space is included for the NULL terminator.

PACKAGE_RELATIVE_APPLICATION_ID_MIN_LENGTH
2

The minimum length of the package relative application ID. Space is included for the NULL terminator.

PACKAGE_RESOURCEID_MAX_LENGTH
30

The maximum length of the resource ID. No space included for the NULL terminator.

PACKAGE_RESOURCEID_MIN_LENGTH
0

The minimum length of the resource ID. No space included for the NULL terminator.

PACKAGE_VERSION_MAX_LENGTH
23

The maximum length of the version. For example, xxxxx.xxxxx.xxxxx.xxxxx. No space included for the NULL terminator/

PACKAGE_VERSION_MIN_LENGTH
7

The minimum length of the version. For example, x.x.x.x. No space included 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

 

 

Show: