IHandle<THandle>
interface IHandle<THandle> where THandle : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
Used to abstract access to classes that contain a potentially owned handle.
using System.Runtime.CompilerServices;
namespace Windows.Win32.Foundation
{
internal interface IHandle<[IsUnmanaged] THandle> where THandle : struct
{
THandle Handle { get; }
[Nullable(2)]
object Wrapper {
[NullableContext(2)]
get {
return this;
}
}
}
}