Commit 3395ce23 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

include: Add Windows.ApplicationModel.PackageStatus runtimeclass definition.

parent ff6333c2
......@@ -29,6 +29,7 @@ namespace Windows.ApplicationModel {
interface IAppDisplayInfo;
interface IPackage;
interface IPackageStatus;
interface IPackageId;
interface IPackageIdWithMetadata;
interface IPackageStatics;
......@@ -36,6 +37,7 @@ namespace Windows.ApplicationModel {
runtimeclass AppDisplayInfo;
runtimeclass Package;
runtimeclass PackageId;
runtimeclass PackageStatus;
declare {
interface Windows.Foundation.Collections.IIterable<Windows.ApplicationModel.Package *>;
......@@ -81,6 +83,27 @@ namespace Windows.ApplicationModel {
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.ApplicationModel.PackageStatus),
uuid(5fe74f71-a365-4c09-a02d-046d525ea1da)
]
interface IPackageStatus : IInspectable
{
HRESULT VerifyIsOK([out, retval] boolean *value);
[propget] HRESULT NotAvailable([out, retval] boolean *value);
[propget] HRESULT PackageOffline([out, retval] boolean *value);
[propget] HRESULT DataOffline([out, retval] boolean *value);
[propget] HRESULT Disabled([out, retval] boolean *value);
[propget] HRESULT NeedsRemediation([out, retval] boolean *value);
[propget] HRESULT LicenseIssue([out, retval] boolean *value);
[propget] HRESULT Modified([out, retval] boolean *value);
[propget] HRESULT Tampered([out, retval] boolean *value);
[propget] HRESULT DependencyIssue([out, retval] boolean *value);
[propget] HRESULT Servicing([out, retval] boolean *value);
[propget] HRESULT DeploymentInProgress([out, retval] boolean *value);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.ApplicationModel.PackageId),
uuid(1adb665e-37c7-4790-9980-dd7ae74e8bb2)
]
......@@ -150,6 +173,16 @@ namespace Windows.ApplicationModel {
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass PackageStatus
{
[default] interface Windows.ApplicationModel.IPackageStatus;
[contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.ApplicationModel.IPackageStatus2;
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass PackageId
{
[default] interface Windows.ApplicationModel.IPackageId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment