Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the origin of the specified package.
Syntax
LONG GetStagedPackageOrigin(
[in] PCWSTR packageFullName,
[out] PackageOrigin *origin
);
Parameters
[in] packageFullName
Type: PCWSTR
The full name of the package.
[out] origin
Type: PackageOrigin*
A pointer to a variable that receives a PackageOrigin-typed value that indicates the origin of the package specified by packageFullName.
Return value
Type: LONG
If the function succeeds it returns ERROR_SUCCESS. Otherwise, the function returns an error code. The possible error codes include the following.
Return code | Description |
---|---|
|
The packageFullName parameter isn't valid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | appmodel.h |
Library | onecoreuap.lib |
DLL | Kernelbase.dll |