43 references to LPARAM
System.Private.Windows.Core (40)
Windows\Win32\Foundation\LPARAM.cs (17)
10public static unsafe implicit operator void*(LPARAM value) => (void*)value.Value; 11public static unsafe implicit operator LPARAM(void* value) => new((nint)value); 13public static explicit operator LPARAM(BOOL value) => new((nint)value); 15public static implicit operator LPARAM(int value) => new(value); 17public static explicit operator int(LPARAM value) => (int)value.Value; 18public static explicit operator uint(LPARAM value) => (uint)(int)value.Value; 19public static explicit operator nuint(LPARAM value) => (nuint)value.Value; 20public static explicit operator LPARAM(uint value) => new((nint)(nuint)value); 22public static explicit operator HWND(LPARAM value) => (HWND)value.Value; 24public static unsafe explicit operator LPARAM(HWND value) => (LPARAM)value.Value; 26public static explicit operator LPARAM(Color value) => (LPARAM)ColorTranslator.ToWin32(value); 27public static explicit operator Point(LPARAM value) => new(value.SIGNEDLOWORD, value.SIGNEDHIWORD); 28public static explicit operator LPARAM(Point value) => MAKELPARAM(value.X, value.Y); 41public static LPARAM MAKELPARAM(int low, int high) => (LPARAM)(uint)((int)(((ushort)(((nuint)low) & 0xffff))
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.EnumChildWindows.cs (2)
22return EnumChildWindows(hwndParent.Handle, &EnumChildWindowsNativeCallback, (LPARAM)(nint)gcHandle); 32private static BOOL EnumChildWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (2)
18return EnumDisplayMonitors(default, (RECT*)null, &EnumDisplayMonitorsNativeCallback, (LPARAM)(nint)gcHandle); 27private static BOOL EnumDisplayMonitorsNativeCallback(HMONITOR monitor, HDC hdc, RECT* lprcMonitor, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (2)
24return EnumThreadWindows(GetCurrentThreadId(), &HandleEnumThreadWindowsNativeCallback, (LPARAM)(nint)gcHandle); 33private static BOOL HandleEnumThreadWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.EnumWindows.cs (2)
21return EnumWindows(&EnumWindowsNativeCallback, (LPARAM)(nint)gcHandle); 30private static BOOL EnumWindowsNativeCallback(HWND hWnd, LPARAM lParam)
Windows\Win32\PInvokeCore.PostMessage.cs (2)
8/// <inheritdoc cref="PostMessage(HWND, uint, WPARAM, LPARAM)"/> 13LPARAM lParam = default)
Windows\Win32\PInvokeCore.SendMessage.cs (10)
8/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 13LPARAM lParam = default) where T : IHandle<HWND> 20/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 25LPARAM lParam = default) where THwnd : IHandle<HWND> where TWParam : IHandle<HWND> 32/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 41return SendMessage(hWnd, Msg, wParam, (LPARAM)c); 45/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM, LPARAM)"/> 56return SendMessage(hWnd, Msg, wParam, (LPARAM)l); 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 (3)
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)"/>
Windows\Win32\PInvoke.UiaReturnRawElementProvider.cs (1)
10/// <inheritdoc cref="UiaReturnRawElementProvider(HWND, WPARAM, LPARAM, IRawElementProviderSimple*)"/>