40 references to WPARAM
System.Private.Windows.Core (36)
Windows\Win32\Foundation\WPARAM.cs (17)
10public static unsafe implicit operator void*(WPARAM value) => (void*)value.Value; 11public static unsafe implicit operator WPARAM(void* value) => new((nuint)value); 13public static explicit operator HWND(WPARAM value) => (HWND)(nint)value.Value; 14public static explicit operator WPARAM(HWND value) => new((nuint)value.Value); 16public static explicit operator HDC(WPARAM value) => (HDC)(nint)value.Value; 17public static explicit operator WPARAM(HDC value) => new((nuint)value.Value); 19public static explicit operator WPARAM(HFONT value) => new((nuint)value.Value); 21public static explicit operator BOOL(WPARAM value) => (BOOL)(nint)value.Value; 22public static explicit operator WPARAM(BOOL value) => new((nuint)(nint)value); 24public static explicit operator int(WPARAM value) => (int)(nint)value.Value; 25public static explicit operator uint(WPARAM value) => (uint)value.Value; 26public static explicit operator nint(WPARAM value) => (nint)value.Value; 27public static explicit operator WPARAM(int value) => new((nuint)(nint)value); 29public static explicit operator WPARAM(char value) => new(value); 31public static explicit operator WPARAM(Color value) => new((nuint)ColorTranslator.ToWin32(value)); 44public 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)
55public static explicit operator WPARAM(in CreateDcScope scope) => (WPARAM)(nuint)(nint)scope.HDC;
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (2)
160public static explicit operator WPARAM(in DeviceContextHdcScope scope) => (WPARAM)scope.HDC;
Windows\Win32\PInvoke.CallWindowProc.cs (2)
8internal 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)"/> 12WPARAM wParam = default,
Windows\Win32\PInvokeCore.SendMessage.cs (10)
8/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 12WPARAM wParam = default, 20/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 27LRESULT result = SendMessage(hWnd.Handle, (uint)Msg, (WPARAM)wParam.Handle, lParam); 32/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 36WPARAM wParam, 45/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 49WPARAM wParam, 60/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 72return SendMessage(hWnd, Msg, (WPARAM)(nuint)w, (LPARAM)(nint)l);
Windows\Win32\UI\WindowsAndMessaging\WNDPROC.cs (1)
6internal 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*)"/>