1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.LRESULT.g.cs (1)
29
internal LRESULT(nint value) => this.
Value
= value;
17 references to Value
System.Private.Windows.Core (17)
Windows.Win32.LRESULT.g.cs (7)
31
public static implicit operator nint(LRESULT value) => value.
Value
;
35
public static bool operator ==(LRESULT left, LRESULT right) => left.
Value
== right.
Value
;
39
public bool Equals(LRESULT other) => this.
Value
== other.
Value
;
43
public override int GetHashCode() => this.
Value
.GetHashCode();
45
public override string ToString() => $"0x{this.
Value
:x}";
Windows\Win32\Foundation\LRESULT.cs (10)
8
public static explicit operator int(LRESULT value) => (int)value.
Value
;
9
public static explicit operator uint(LRESULT value) => (uint)value.
Value
;
10
public static explicit operator nuint(LRESULT value) => (nuint)value.
Value
;
11
public static explicit operator char(LRESULT value) => (char)value.
Value
;
12
public static explicit operator HWND(LRESULT value) => (HWND)value.
Value
;
13
public static explicit operator HFONT(LRESULT value) => (HFONT)value.
Value
;
14
public static explicit operator HICON(LRESULT value) => (HICON)value.
Value
;
16
public static explicit operator BOOL(LRESULT value) => (BOOL)value.
Value
;
20
public ushort HIWORD => (ushort)((((nuint)
Value
) >> 16) & 0xffff);
24
public ushort LOWORD => (ushort)(((nuint)
Value
) & 0xffff);