//
// Copyright (c) Microsoft Corporation. All rights reserved.
// 
//
// File generated by WinMDIDL version 8.00.0021
//

import "inspectable.idl";
import "AsyncInfo.idl";
import "EventToken.idl";
import "windowscontracts.idl";
import "Windows.Foundation.idl";

// Forward Declare
namespace Windows
{
    namespace Management
    {
        namespace Deployment
        {
            namespace Preview
            {
                apicontract DeploymentPreviewContract;

                interface IClassicAppManagerStatics;

                interface IInstalledClassicAppInfo;

                runtimeclass ClassicAppManager;

                runtimeclass InstalledClassicAppInfo;
            }
        }
    }
}

// Generic instantiations

// Type definition
namespace Windows
{
    namespace Management
    {
        namespace Deployment
        {
            namespace Preview
            {
                [contractversion(1.0)]
                apicontract DeploymentPreviewContract
                {
                }

                [contract(Windows.Management.Deployment.Preview.DeploymentPreviewContract, 1.0)]
                [exclusiveto(Windows.Management.Deployment.Preview.ClassicAppManager)]
                [uuid(E2FAD668-882C-4F33-B035-0DF7B90D67E6)]
                interface IClassicAppManagerStatics : IInspectable
                {
                    HRESULT FindInstalledApp([in] HSTRING appUninstallKey, [out] [retval] Windows.Management.Deployment.Preview.InstalledClassicAppInfo** result);
                }

                [contract(Windows.Management.Deployment.Preview.DeploymentPreviewContract, 1.0)]
                [exclusiveto(Windows.Management.Deployment.Preview.InstalledClassicAppInfo)]
                [uuid(0A7D3DA3-65D0-4086-80D6-0610D760207D)]
                interface IInstalledClassicAppInfo : IInspectable
                {
                    [propget] HRESULT DisplayName([out] [retval] HSTRING* value);
                    [propget] HRESULT DisplayVersion([out] [retval] HSTRING* value);
                }

                [contract(Windows.Management.Deployment.Preview.DeploymentPreviewContract, 1.0)]
                [marshaling_behavior(agile)]
                [static(Windows.Management.Deployment.Preview.IClassicAppManagerStatics, Windows.Management.Deployment.Preview.DeploymentPreviewContract, 1.0)]
                [threading(both)]
                runtimeclass ClassicAppManager
                {
                }

                [contract(Windows.Management.Deployment.Preview.DeploymentPreviewContract, 1.0)]
                [marshaling_behavior(agile)]
                [threading(both)]
                runtimeclass InstalledClassicAppInfo
                {
                    [default] interface Windows.Management.Deployment.Preview.IInstalledClassicAppInfo;
                }
            }
        }
    }
}
