GetPackageFullNameFromManifest

Returns the full name of the package for the specified application manifest.

Syntax

HRESULT GetPackageFullNameFromManifest(
         PCWSTR manifestPath,
         WCHAR** packageFullName
)

Parameters

manifestPath   _In_
Type: PCWSTR

The path to the manifest.

packageFullName   _Out_
Type: WCHAR**

On return, contains the full name 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

The caller must free the returned string by using CoTaskMemFree.

To get the full name and the family name of the package for the specified game configuration, call GetPackageInfoFromGameConfig.

For more information about packaging, see Overview of packaging.

Requirements

Header: packagingservices.h

Library: packagingservices.lib

Supported platforms: Windows (for Xbox console tools)

See also

PackagingServices