40 references to WPARAM
System.Private.Windows.Core (36)
Windows\Win32\Foundation\WPARAM.cs (17)
10
public static unsafe implicit operator void*(
WPARAM
value) => (void*)value.Value;
11
public static unsafe 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\Graphics\Gdi\DeviceContextHdcScope.cs (2)
160
public static explicit operator
WPARAM
(in DeviceContextHdcScope scope) => (
WPARAM
)scope.HDC;
Windows\Win32\PInvoke.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);
System.Windows.Forms.Primitives (4)
Microsoft\Office\IMsoComponent.cs (1)
145
/// <inheritdoc cref="Interface.FDebugMessage(nint, uint,
WPARAM
, LPARAM)"/>
Microsoft\Office\IMsoComponentManager.cs (1)
65
/// <inheritdoc cref="Interface.FDebugMessage(nint, uint,
WPARAM
, LPARAM)"/>
System\Windows\Forms\AccessibilityExtensions.cs (1)
11
/// <inheritdoc cref="PInvoke.LresultFromObject(Guid*,
WPARAM
, IUnknown*)"/>
Windows\Win32\PInvoke.UiaReturnRawElementProvider.cs (1)
10
/// <inheritdoc cref="UiaReturnRawElementProvider(HWND,
WPARAM
, LPARAM, IRawElementProviderSimple*)"/>