21 references to HICON
System.Private.Windows.Core (20)
System\Drawing\IIcon.cs (1)
6
internal interface IIcon : IHandle<
HICON
>
Windows\Win32\Foundation\LRESULT.cs (2)
14
public static explicit operator
HICON
(LRESULT value) => (
HICON
)value.Value;
Windows\Win32\PInvokeCore.CopyImage.cs (4)
9
public static
HICON
CopyIcon<T>(T hImage, int cx, int cy, IMAGE_FLAGS flags = default)
10
where T : IHandle<
HICON
>
12
HICON
result = (
HICON
)CopyImage(hImage.Handle, GDI_IMAGE_TYPE.IMAGE_ICON, cx, cy, flags);
Windows\Win32\PInvokeCore.DrawIcon.cs (1)
9
where T : IHandle<
HICON
>
Windows\Win32\PInvokeCore.DrawIconEx.cs (2)
8
/// <inheritdoc cref="DrawIconEx(HDC, int, int,
HICON
, int, int, uint, HBRUSH, DI_FLAGS)"/>/>
17
where T : IHandle<
HICON
>
Windows\Win32\PInvokeCore.GetIconInfo.cs (2)
8
/// <inheritdoc cref="GetIconInfo(
HICON
, ICONINFO*)"/>
10
where T : IHandle<
HICON
>
Windows\Win32\System\Ole\OLE_HANDLE.cs (1)
10
public 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)
6
internal partial struct HICON : IHandle<
HICON
>
8
HICON
IHandle<
HICON
>.Handle => this;
9
object? IHandle<
HICON
>.Wrapper => null;
11
public static explicit operator
HICON
(HANDLE handle) => new(handle);
12
public 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
)"/>