1 interface inheriting from IHandle
System.Private.Windows.Core (1)
System\Drawing\IIcon.cs (1)
6
internal interface IIcon :
IHandle
<HICON>
7 implementations of IHandle
System.Private.Windows.Core (7)
Windows\Win32\Foundation\HandleRef.cs (1)
22
internal readonly struct HandleRef<THandle> :
IHandle
<THandle>, IEquatable<HandleRef<THandle>>
Windows\Win32\Foundation\HWND.cs (1)
6
internal partial struct HWND :
IHandle
<HWND>
Windows\Win32\Foundation\NullHandle.cs (1)
6
internal class NullHandle<T> :
IHandle
<T> where T : unmanaged
Windows\Win32\Graphics\Gdi\HDC.cs (1)
6
internal readonly partial struct HDC :
IHandle
<HDC>
Windows\Win32\Graphics\Gdi\HdcHandle.cs (1)
10
internal sealed class HdcHandle : IDisposable,
IHandle
<HDC>
Windows\Win32\UI\WindowsAndMessaging\HCURSOR.cs (1)
6
internal partial struct HCURSOR :
IHandle
<HCURSOR>
Windows\Win32\UI\WindowsAndMessaging\HICON.cs (1)
6
internal partial struct HICON :
IHandle
<HICON>
43 references to IHandle
System.Private.Windows.Core (43)
Windows\Win32\Foundation\HandleRef.cs (2)
10
/// Adapter to use when owning classes cannot directly implement <see cref="
IHandle
{T}"/>.
36
public HandleRef(
IHandle
<THandle>? handle)
Windows\Win32\Foundation\HWND.cs (2)
8
HWND
IHandle
<HWND>.Handle => this;
9
object?
IHandle
<HWND>.Wrapper => null;
Windows\Win32\Foundation\IHandle.cs (3)
24
/// <see cref="
IHandle
{THandle}"/>, but should take a generic "T" that is constrained to IHandle{T}. Doing
39
/// <see cref="
IHandle
{THandle}"/> implementer.
44
/// <see cref="
IHandle
{THandle}"/> is on a struct. See <see cref="HandleRef{THandle}"/> for a concrete usage.
Windows\Win32\Graphics\Gdi\HDC.cs (2)
8
HDC
IHandle
<HDC>.Handle => this;
9
object?
IHandle
<HDC>.Wrapper => null;
Windows\Win32\PInvoke.CallWindowProc.cs (1)
9
where T :
IHandle
<HWND>
Windows\Win32\PInvoke.GetWindowRect.cs (1)
9
public static BOOL GetWindowRect<T>(T hWnd, out RECT lpRect) where T :
IHandle
<HWND>
Windows\Win32\PInvoke.GetWindowText.cs (1)
15
public static unsafe string GetWindowText<T>(T hWnd) where T :
IHandle
<HWND>
Windows\Win32\PInvoke.GetWindowTextLength.cs (1)
9
public static int GetWindowTextLength<T>(T hWnd) where T :
IHandle
<HWND>
Windows\Win32\PInvoke.MapWindowPoints.cs (4)
12
where TFrom :
IHandle
<HWND>
13
where TTo :
IHandle
<HWND>
26
where TFrom :
IHandle
<HWND>
27
where TTo :
IHandle
<HWND>
Windows\Win32\PInvokeCore.BitBlt.cs (2)
18
ROP_CODE rop) where T :
IHandle
<HDC>
44
ROP_CODE rop) where T :
IHandle
<HDC>
Windows\Win32\PInvokeCore.CopyImage.cs (2)
10
where T :
IHandle
<HICON>
19
where T :
IHandle
<HCURSOR>
Windows\Win32\PInvokeCore.DrawIcon.cs (1)
9
where T :
IHandle
<HICON>
Windows\Win32\PInvokeCore.DrawIconEx.cs (1)
17
where T :
IHandle
<HICON>
Windows\Win32\PInvokeCore.EnumChildWindows.cs (1)
14
where T :
IHandle
<HWND>
Windows\Win32\PInvokeCore.GetClientRect.cs (1)
10
where T :
IHandle
<HWND>
Windows\Win32\PInvokeCore.GetIconInfo.cs (1)
10
where T :
IHandle
<HICON>
Windows\Win32\PInvokeCore.GetWindowLong.cs (1)
28
where T :
IHandle
<HWND>
Windows\Win32\PInvokeCore.PeekMessage.cs (1)
15
where T :
IHandle
<HWND>
Windows\Win32\PInvokeCore.PostMessage.cs (1)
14
where T :
IHandle
<HWND>
Windows\Win32\PInvokeCore.SendMessage.cs (6)
13
LPARAM lParam = default) where T :
IHandle
<HWND>
25
LPARAM lParam = default) where THwnd :
IHandle
<HWND> where TWParam :
IHandle
<HWND>
37
string? lParam) where T :
IHandle
<HWND>
51
where THwnd :
IHandle
<HWND>
66
where THwnd :
IHandle
<HWND>
Windows\Win32\PInvokeCore.SetWindowLong.cs (4)
17
where T :
IHandle
<HWND>
27
where THwnd :
IHandle
<HWND>
28
where TNewValue :
IHandle
<HWND>
36
where T :
IHandle
<HWND>
Windows\Win32\UI\WindowsAndMessaging\HCURSOR.cs (2)
8
HCURSOR
IHandle
<HCURSOR>.Handle => this;
9
object?
IHandle
<HCURSOR>.Wrapper => null;
Windows\Win32\UI\WindowsAndMessaging\HICON.cs (2)
8
HICON
IHandle
<HICON>.Handle => this;
9
object?
IHandle
<HICON>.Wrapper => null;