Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the version of the package for the specified application manifest.
Syntax
HRESULT GetPackageVersionFromManifest(
         PCWSTR manifestPath,
         UINT64* packageVersion
)
Parameters
manifestPath   _In_
Type: PCWSTR
The path to the manifest.
packageVersion   _Out_
Type: UINT64*
On return, contains the version of the package.
Return value
Type: HRESULT
Returns S_OK if successful. Otherwise, returns an error code. For a list of error codes, see Error Codes.
Remarks
To determine whether the manifest is a Microsoft Game Development Kit (GDK) manifest, call GetIsGameCorePartition.
To parse the manifest and validate the schema, call ValidateSchemaForManifest.
For more information about packaging, see Overview of packaging.
Requirements
Header: packagingservices.h
Library: packagingservices.lib
Supported platforms: Windows (for Xbox console tools)