PACKAGE_VERSION structure (appmodel.h)

Represents the package version information.

Syntax

typedef struct PACKAGE_VERSION {
  union {
    UINT64 Version;
    struct {
      USHORT Revision;
      USHORT Build;
      USHORT Minor;
      USHORT Major;
    } DUMMYSTRUCTNAME;
  } DUMMYUNIONNAME;
} PACKAGE_VERSION;

Members

DUMMYUNIONNAME

DUMMYUNIONNAME.Version

Type: UINT64

The full version number of the package represented as a single integral value.

DUMMYUNIONNAME.DUMMYSTRUCTNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME.Revision

Type: USHORT

The revision version number of the package.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.Build

Type: USHORT

The build version number of the package.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.Minor

Type: USHORT

The minor version number of the package.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.Major

Type: USHORT

The major version number of the package.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header appmodel.h

See also

PACKAGE_ID