1 instantiation of HandleRef
Microsoft.Private.Windows.Core (1)
Windows\Win32\Foundation\HandleRef.cs (1)
68return new(handle.Wrapper, Unsafe.As<nint, THandle>(ref local));
9 references to HandleRef
Microsoft.Private.Windows.Core (9)
Windows\Win32\Foundation\HandleRef.cs (8)
19internal readonly struct HandleRef<THandle> : IHandle<THandle>, IEquatable<HandleRef<THandle>> 39public bool Equals(HandleRef<THandle> other) 46public static bool operator ==(HandleRef<THandle> left, HandleRef<THandle> right) => left.Equals(right); 47public static bool operator !=(HandleRef<THandle> left, HandleRef<THandle> right) => !(left == right); 49public static unsafe explicit operator HandleRef(HandleRef<THandle> handle) 60public static unsafe explicit operator HandleRef<THandle>(HandleRef handle)
Windows\Win32\Foundation\IHandle.cs (1)
42/// <see cref="IHandle{THandle}"/> is on a struct. See <see cref="HandleRef{THandle}"/> for a concrete usage.