GetPackageFullNameFromInfo
Returns the full name of the package that matches the specified information.Syntax
Parameters
packageName _In_Type: PCWSTR The package name. packageVersion _In_
Type: PCWSTR The package version. packageArchitecture _In_
Type: PCWSTR The package architecture. packageResourceId _In_
Type: PCWSTR The package resource ID. packagePublisher _In_
Type: PCWSTR The package publisher. packageFullName _Out_
Type: WCHAR** On return, contains the full name of the package.
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 string by usingCoTaskMemFree.
To get the family name of the package for a specified application manifest, call GetPackageFamilyNameFromManifest
For more information about packaging, see Overview of packaging.
