1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.HDC.g.cs (1)
29 internal HDC(void* value) => this.Value = value;
12 references to Value
System.Private.Windows.Core (12)
Windows.Win32.HDC.g.cs (9)
37 internal bool IsNull => Value == default; 39 public static implicit operator void*(HDC value) => value.Value; 43 public static bool operator ==(HDC left, HDC right) => left.Value == right.Value; 47 public bool Equals(HDC 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(HDC value) => new IntPtr(value.Value);
Windows\Win32\Foundation\WPARAM.cs (1)
17public static explicit operator WPARAM(HDC value) => new((nuint)value.Value);
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (1)
53public static unsafe implicit operator HGDIOBJ(in CreateDcScope scope) => (HGDIOBJ)(scope.HDC.Value);
Windows\Win32\Graphics\Gdi\HGDIOBJ.cs (1)
8public static implicit operator HGDIOBJ(HDC value) => (HGDIOBJ)value.Value;