3 instantiations of HBRUSH
Microsoft.Private.Windows.Core (3)
Windows.Win32.HBRUSH.g.cs (3)
41 public static explicit operator HBRUSH(void* value) => new HBRUSH(value); 57 public static explicit operator HBRUSH(IntPtr value) => new HBRUSH((void*)value.ToPointer()); 59 public static explicit operator HBRUSH(UIntPtr value) => new HBRUSH((void*)value.ToPointer());
24 references to HBRUSH
Microsoft.Private.Windows.Core (24)
Windows.Win32.HBRUSH.g.cs (14)
25 : IEquatable<HBRUSH> 35 internal static HBRUSH Null => default; 39 public static implicit operator void*(HBRUSH value) => value.Value; 41 public static explicit operator HBRUSH(void* value) => new HBRUSH(value); 43 public static bool operator ==(HBRUSH left, HBRUSH right) => left.Value == right.Value; 45 public static bool operator !=(HBRUSH left, HBRUSH right) => !(left == right); 47 public bool Equals(HBRUSH other) => this.Value == other.Value; 49 public override bool Equals(object obj) => obj is HBRUSH other && this.Equals(other); 55 public static implicit operator IntPtr(HBRUSH value) => new IntPtr(value.Value); 57 public static explicit operator HBRUSH(IntPtr value) => new HBRUSH((void*)value.ToPointer()); 59 public static explicit operator HBRUSH(UIntPtr value) => new HBRUSH((void*)value.ToPointer()); 61 public static implicit operator HGDIOBJ(HBRUSH value) => new HGDIOBJ(value.Value);
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (1)
366 internal static extern winmdroot.Graphics.Gdi.HBRUSH CreateSolidBrush(winmdroot.Foundation.COLORREF color);
Windows.Win32.PInvokeCore.USER32.dll.g.cs (2)
201 internal static extern winmdroot.Foundation.BOOL DrawIconEx(winmdroot.Graphics.Gdi.HDC hdc, int xLeft, int yTop, winmdroot.UI.WindowsAndMessaging.HICON hIcon, int cxWidth, int cyWidth, uint istepIfAniCur, winmdroot.Graphics.Gdi.HBRUSH hbrFlickerFreeDraw, winmdroot.UI.WindowsAndMessaging.DI_FLAGS diFlags); 522 internal static extern winmdroot.Graphics.Gdi.HBRUSH GetSysColorBrush(winmdroot.Graphics.Gdi.SYS_COLOR_INDEX nIndex);
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (2)
24public HBRUSH HBRUSH { get; } 38public static implicit operator HBRUSH(in CreateBrushScope scope) => scope.HBRUSH;
Windows\Win32\Graphics\Gdi\HGDIOBJ.cs (2)
11public static explicit operator HBRUSH(HGDIOBJ value) => (HBRUSH)value.Value;
Windows\Win32\PInvokeCore.DrawIconEx.cs (2)
8/// <inheritdoc cref="DrawIconEx(HDC, int, int, HICON, int, int, uint, HBRUSH, DI_FLAGS)"/> 25BOOL result = DrawIconEx(hDC, xLeft, yTop, hIcon.Handle, cxWidth, cyWidth, 0, HBRUSH.Null, diFlags);
Windows\Win32\PInvokeCore.GetSysColorBrush.cs (1)
11public static HBRUSH GetSysColorBrush(Color systemColor)