|
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//
// <OWNER>LadiPro</OWNER>
// <OWNER>RByers</OWNER>
// <OWNER>ShawnFa</OWNER>
using System;
namespace System.Runtime.InteropServices.WindowsRuntime
{
[ComImport]
[Guid("61c17706-2d65-11e0-9ae8-d48564015472")]
[WindowsRuntimeImport]
// Note that ideally, T should be constrained to be a value type. However, Windows uses IReference<HSTRING>
// and the projection may not be exactly pretty.
internal interface IReference<T> : IPropertyValue
{
T Value { get; }
}
[ComImport]
[Guid("61c17707-2d65-11e0-9ae8-d48564015472")]
[WindowsRuntimeImport]
// T can be any WinRT-compatible type, including reference types.
internal interface IReferenceArray<T> : IPropertyValue
{
T[] Value { get; }
}
}
|