1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.HBITMAP.g.cs (1)
29 internal HBITMAP(void* value) => this.Value = value;
13 references to Value
System.Private.Windows.Core (12)
Windows.Win32.HBITMAP.g.cs (10)
37 internal bool IsNull => Value == default; 39 public static implicit operator void*(HBITMAP value) => value.Value; 43 public static bool operator ==(HBITMAP left, HBITMAP right) => left.Value == right.Value; 47 public bool Equals(HBITMAP other) => this.Value == other.Value; 51 public override int GetHashCode() => unchecked((int)this.Value); 53 public override string ToString() => $"0x{(nuint)this.Value:x}"; 55 public static implicit operator IntPtr(HBITMAP value) => new IntPtr(value.Value); 61 public static implicit operator HGDIOBJ(HBITMAP value) => new HGDIOBJ(value.Value);
Windows\Win32\UI\WindowsAndMessaging\ICONINFO.cs (2)
12PInvokeCore.DeleteObject((HGDIOBJ)hbmMask.Value); 18PInvokeCore.DeleteObject((HGDIOBJ)hbmColor.Value);
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
339using SelectObjectScope targetBitmapSelection = new(targetDC, (HGDIOBJ)colorMask.Value);