//
// 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 Foundation
    {
        typedef struct TimeSpan TimeSpan;

        apicontract UniversalApiContract;
    }
}
namespace Windows
{
    namespace Devices
    {
        namespace Background
        {
            interface IDeviceServicingDetails;

            interface IDeviceUseDetails;

            runtimeclass DeviceServicingDetails;

            runtimeclass DeviceUseDetails;
        }
    }
}

// Generic instantiations

// Type definition
namespace Windows
{
    namespace Devices
    {
        namespace Background
        {
            [contract(Windows.Foundation.UniversalApiContract, 1.0)]
            [exclusiveto(Windows.Devices.Background.DeviceServicingDetails)]
            [uuid(4AABEE29-2344-4AC4-8527-4A8EF6905645)]
            interface IDeviceServicingDetails : IInspectable
            {
                [propget] HRESULT DeviceId([out] [retval] HSTRING* value);
                [propget] HRESULT Arguments([out] [retval] HSTRING* value);
                [propget] HRESULT ExpectedDuration([out] [retval] Windows.Foundation.TimeSpan* value);
            }

            [contract(Windows.Foundation.UniversalApiContract, 1.0)]
            [exclusiveto(Windows.Devices.Background.DeviceUseDetails)]
            [uuid(7D565141-557E-4154-B994-E4F7A11FB323)]
            interface IDeviceUseDetails : IInspectable
            {
                [propget] HRESULT DeviceId([out] [retval] HSTRING* value);
                [propget] HRESULT Arguments([out] [retval] HSTRING* value);
            }

            [contract(Windows.Foundation.UniversalApiContract, 1.0)]
            [marshaling_behavior(agile)]
            [threading(both)]
            runtimeclass DeviceServicingDetails
            {
                [default] interface Windows.Devices.Background.IDeviceServicingDetails;
            }

            [contract(Windows.Foundation.UniversalApiContract, 1.0)]
            [marshaling_behavior(agile)]
            [threading(both)]
            runtimeclass DeviceUseDetails
            {
                [default] interface Windows.Devices.Background.IDeviceUseDetails;
            }
        }
    }
}
