Skip to main content

GetPackageInfoFromGameConfig

Returns the full name and the family name of the package for the specified game configuration file.

Syntax

Parameters

gameConfigPath   _In_
Type: PCWSTR
The path to the MicrosoftGame.config file. packageFullName   _Out_
Type: WCHAR**
On return, contains the full name of the package. packageFamilyName   _Out_
Type: WCHAR**
On return, contains the family name of the package. pParsingError   _Out_
Type: WCHAR**
In a failure case, contains more information about why the parsing failed.

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 strings by using CoTaskMemFree. To get the full name of the package for a specified application manifest, call GetPackageFullNameFromManifest. 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
Last modified on August 20, 2026