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 ReturnsS_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 usingCoTaskMemFree.
To get the full name of the package for a specified application manifest, call GetPackageFullNameFromManifest.
For more information about packaging, see Overview of packaging.
