19 references to HICON
System.Private.Windows.Core (18)
System\Drawing\IIcon.cs (1)
6internal interface IIcon : IHandle<HICON>
Windows\Win32\PInvoke.CopyImage.cs (4)
9public static HICON CopyIcon<T>(T hImage, int cx, int cy, IMAGE_FLAGS flags = default) 10where T : IHandle<HICON> 12HICON result = (HICON)CopyImage(hImage.Handle, GDI_IMAGE_TYPE.IMAGE_ICON, cx, cy, flags);
Windows\Win32\PInvoke.DrawIcon.cs (1)
9where T : IHandle<HICON>
Windows\Win32\PInvoke.DrawIconEx.cs (2)
8/// <inheritdoc cref="DrawIconEx(HDC, int, int, HICON, int, int, uint, HBRUSH, DI_FLAGS)"/>/> 17where T : IHandle<HICON>
Windows\Win32\PInvoke.GetIconInfo.cs (2)
8/// <inheritdoc cref="GetIconInfo(HICON, ICONINFO*)"/> 10where T : IHandle<HICON>
Windows\Win32\System\Ole\OLE_HANDLE.cs (1)
10public static explicit operator HICON(OLE_HANDLE handle) => new((int)handle.Value);
Windows\Win32\System\Ole\PICTDESC.cs (1)
32(HICON)PInvokeCore.CopyImage(
Windows\Win32\UI\WindowsAndMessaging\HICON.cs (6)
6internal partial struct HICON : IHandle<HICON> 8HICON IHandle<HICON>.Handle => this; 9object? IHandle<HICON>.Wrapper => null; 11public static explicit operator HICON(HANDLE handle) => new(handle); 12public static implicit operator HANDLE(HICON handle) => new(handle);
System.Windows.Forms.Primitives (1)
Windows\Win32\PInvoke.ImageList.cs (1)
100/// <inheritdoc cref="ImageList_ReplaceIcon(HIMAGELIST, int, HICON)"/>