9 instantiations of WPARAM
Microsoft.Private.Windows.Core (9)
Windows.Win32.WPARAM.g.cs (1)
33
public static implicit operator WPARAM(nuint value) => new
WPARAM
(value);
Windows\Win32\Foundation\WPARAM.cs (8)
11
public static implicit operator WPARAM(void* value) =>
new
((nuint)value);
14
public static explicit operator WPARAM(HWND value) =>
new
((nuint)value.Value);
17
public static explicit operator WPARAM(HDC value) =>
new
((nuint)value.Value);
19
public static explicit operator WPARAM(HFONT value) =>
new
((nuint)value.Value);
22
public static explicit operator WPARAM(BOOL value) =>
new
((nuint)(nint)value);
27
public static explicit operator WPARAM(int value) =>
new
((nuint)(nint)value);
29
public static explicit operator WPARAM(char value) =>
new
(value);
31
public static explicit operator WPARAM(Color value) =>
new
((nuint)ColorTranslator.ToWin32(value));
49 references to WPARAM
Microsoft.Private.Windows.Core (49)
Windows.Win32.MSG.g.cs (1)
45
internal winmdroot.Foundation.
WPARAM
wParam;
Windows.Win32.PInvokeCore.USER32.dll.g.cs (5)
83
internal static extern unsafe winmdroot.Foundation.LRESULT CallWindowProc(delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,global::Windows.Win32.Foundation.
WPARAM
,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LRESULT> lpPrevWndFunc, winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.
WPARAM
wParam, winmdroot.Foundation.LPARAM lParam);
138
internal static extern winmdroot.Foundation.LRESULT DefWindowProc(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.
WPARAM
wParam, winmdroot.Foundation.LPARAM lParam);
825
internal static extern winmdroot.Foundation.BOOL PostMessage(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.
WPARAM
wParam, winmdroot.Foundation.LPARAM lParam);
894
internal static extern winmdroot.Foundation.LRESULT SendMessage(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.
WPARAM
wParam, winmdroot.Foundation.LPARAM lParam);
Windows.Win32.WPARAM.g.cs (9)
25
: IEquatable<
WPARAM
>
31
public static implicit operator nuint(
WPARAM
value) => value.Value;
33
public static implicit operator
WPARAM
(nuint value) => new WPARAM(value);
35
public static bool operator ==(
WPARAM
left,
WPARAM
right) => left.Value == right.Value;
37
public static bool operator !=(
WPARAM
left,
WPARAM
right) => !(left == right);
39
public bool Equals(
WPARAM
other) => this.Value == other.Value;
41
public override bool Equals(object obj) => obj is
WPARAM
other && this.Equals(other);
Windows\Win32\Foundation\WPARAM.cs (17)
10
public static implicit operator void*(
WPARAM
value) => (void*)value.Value;
11
public static implicit operator
WPARAM
(void* value) => new((nuint)value);
13
public static explicit operator HWND(
WPARAM
value) => (HWND)(nint)value.Value;
14
public static explicit operator
WPARAM
(HWND value) => new((nuint)value.Value);
16
public static explicit operator HDC(
WPARAM
value) => (HDC)(nint)value.Value;
17
public static explicit operator
WPARAM
(HDC value) => new((nuint)value.Value);
19
public static explicit operator
WPARAM
(HFONT value) => new((nuint)value.Value);
21
public static explicit operator BOOL(
WPARAM
value) => (BOOL)(nint)value.Value;
22
public static explicit operator
WPARAM
(BOOL value) => new((nuint)(nint)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;
27
public static explicit operator
WPARAM
(int value) => new((nuint)(nint)value);
29
public static explicit operator
WPARAM
(char value) => new(value);
31
public static explicit operator
WPARAM
(Color value) => new((nuint)ColorTranslator.ToWin32(value));
44
public static
WPARAM
MAKEWPARAM(int low, int high) =>
45
(
WPARAM
)(uint)((int)(((ushort)(((nuint)low) & 0xffff)) | ((uint)((ushort)(((nuint)high) & 0xffff))) << 16));
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (2)
55
public static explicit operator
WPARAM
(in CreateDcScope scope) => (
WPARAM
)(nuint)(nint)scope.HDC;
Windows\Win32\PInvokeCore.CallWindowProc.cs (2)
8
internal static unsafe LRESULT CallWindowProc<T>(void* lpPrevWndFunc, T hWnd, uint Msg,
WPARAM
wParam, LPARAM lParam)
12
(delegate* unmanaged[Stdcall]<HWND, uint,
WPARAM
, LPARAM, LRESULT>)lpPrevWndFunc,
Windows\Win32\PInvokeCore.PostMessage.cs (2)
8
/// <inheritdoc cref="PostMessage(HWND, uint,
WPARAM
, LPARAM)"/>
12
WPARAM
wParam = default,
Windows\Win32\PInvokeCore.SendMessage.cs (10)
8
/// <inheritdoc cref="SendMessage(HWND, uint,
WPARAM
, LPARAM)"/>
12
WPARAM
wParam = default,
20
/// <inheritdoc cref="SendMessage(HWND, uint,
WPARAM
, LPARAM)"/>
27
LRESULT result = SendMessage(hWnd.Handle, (uint)Msg, (
WPARAM
)wParam.Handle, lParam);
32
/// <inheritdoc cref="SendMessage(HWND, uint,
WPARAM
, LPARAM)"/>
36
WPARAM
wParam,
45
/// <inheritdoc cref="SendMessage(HWND, uint,
WPARAM
, LPARAM)"/>
49
WPARAM
wParam,
60
/// <inheritdoc cref="SendMessage(HWND, uint,
WPARAM
, LPARAM)"/>
72
return SendMessage(hWnd, Msg, (
WPARAM
)(nuint)w, (LPARAM)(nint)l);
Windows\Win32\UI\WindowsAndMessaging\WNDPROC.cs (1)
6
internal delegate LRESULT WNDPROC(HWND hWnd, uint msg,
WPARAM
wParam, LPARAM lParam);