1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.WPARAM.g.cs (1)
29
internal WPARAM(nuint value) => this.
Value
= value;
16 references to Value
System.Private.Windows.Core (16)
Windows.Win32.WPARAM.g.cs (7)
31
public static implicit operator nuint(WPARAM value) => value.
Value
;
35
public static bool operator ==(WPARAM left, WPARAM right) => left.
Value
== right.
Value
;
39
public bool Equals(WPARAM 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\WPARAM.cs (9)
10
public static implicit operator void*(WPARAM value) => (void*)value.
Value
;
13
public static explicit operator HWND(WPARAM value) => (HWND)(nint)value.
Value
;
16
public static explicit operator HDC(WPARAM value) => (HDC)(nint)value.
Value
;
21
public static explicit operator BOOL(WPARAM value) => (BOOL)(nint)value.
Value
;
24
public static explicit operator int(WPARAM value) => (int)(nint)value.
Value
;
25
public static explicit operator uint(WPARAM value) => (uint)value.
Value
;
26
public static explicit operator nint(WPARAM value) => (nint)value.
Value
;
34
public ushort HIWORD => (ushort)(((
Value
) >> 16) & 0xffff);
38
public ushort LOWORD => (ushort)(
Value
& 0xffff);