IAppVClient::RetrieveGuidsFromPackageURL method

Gets package GUIDs when only the package URL is known.

[This API is deprecated and may unsupported or unavailable in future versions of Windows.]

Syntax

HRESULT RetrieveGuidsFromPackageURL([in] BSTR url,
    [out] BSTR* packageID,
    [out] BSTR* packageVersionID,
    [out,retval] ULONGLONG* appvret);

Parameters

url [in]

The package URL.

packageID [out]

The ID of the package.

packageVersionGUID [out]

The package version ID.

appvret [out]

An App-V return code.

Return value

An HRESULT.

Remarks

This is a privileged operation, and requires administrative rights or membership in the appropriate security group.

Requirements

Requirement Value
Header N/A

See also