5 instantiations of LPARAM
System.Private.Windows.Core (5)
Windows.Win32.LPARAM.g.cs (1)
33 public static implicit operator LPARAM(nint value) => new LPARAM(value);
Windows\Win32\Foundation\LPARAM.cs (4)
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); 20public static explicit operator LPARAM(uint value) => new((nint)(nuint)value);
372 references to LPARAM
System.Private.Windows.Core (71)
Windows.Win32.LPARAM.g.cs (9)
25 : IEquatable<LPARAM> 31 public static implicit operator nint(LPARAM value) => value.Value; 33 public static implicit operator LPARAM(nint value) => new LPARAM(value); 35 public static bool operator ==(LPARAM left, LPARAM right) => left.Value == right.Value; 37 public static bool operator !=(LPARAM left, LPARAM right) => !(left == right); 39 public bool Equals(LPARAM other) => this.Value == other.Value; 41 public override bool Equals(object obj) => obj is LPARAM other && this.Equals(other);
Windows.Win32.MSG.g.cs (1)
51 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (2)
396 internal static unsafe winmdroot.Foundation.BOOL EnumEnhMetaFile(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HENHMETAFILE hmf, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Graphics.Gdi.HANDLETABLE*,global::Windows.Win32.Graphics.Gdi.ENHMETARECORD*,int,global::Windows.Win32.Foundation.LPARAM,int> proc, void* param3, winmdroot.Foundation.RECT? lpRect) 417 internal static extern unsafe winmdroot.Foundation.BOOL EnumEnhMetaFile(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Graphics.Gdi.HENHMETAFILE hmf, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Graphics.Gdi.HANDLETABLE*,global::Windows.Win32.Graphics.Gdi.ENHMETARECORD*,int,global::Windows.Win32.Foundation.LPARAM,int> proc, [Optional] void* param3, [Optional] winmdroot.Foundation.RECT* lpRect);
Windows.Win32.PInvokeCore.USER32.dll.g.cs (19)
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); 146 internal static extern winmdroot.Foundation.LRESULT DefWindowProc(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 272 internal static extern unsafe winmdroot.Foundation.BOOL EnumChildWindows(winmdroot.Foundation.HWND hWndParent, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpEnumFunc, winmdroot.Foundation.LPARAM lParam); 276 internal static unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.RECT? lprcClip, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.RECT*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfnEnum, winmdroot.Foundation.LPARAM dwData) 304 internal static extern unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC hdc, [Optional] winmdroot.Foundation.RECT* lprcClip, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.RECT*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfnEnum, winmdroot.Foundation.LPARAM dwData); 327 internal static extern unsafe winmdroot.Foundation.BOOL EnumThreadWindows(uint dwThreadId, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfn, winmdroot.Foundation.LPARAM lParam); 346 internal static unsafe winmdroot.Foundation.BOOL EnumWindows(delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpEnumFunc, winmdroot.Foundation.LPARAM lParam) 354 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpEnumFunc, winmdroot.Foundation.LPARAM lParam); 928 internal static winmdroot.Foundation.BOOL PostMessage(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam) 936 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 1013 internal static winmdroot.Foundation.LRESULT SendMessage(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam) 1021 static extern winmdroot.Foundation.LRESULT LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam);
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\PInvokeCore.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 (165)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
326PInvokeCore.SendMessage(_owningChildEdit, PInvokeCore.EM_SETSEL, (WPARAM)start, (LPARAM)end);
System\Windows\Forms\ActiveX\AxHost.cs (2)
1764lParam = LPARAM.MAKELPARAM( 3213(delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)wndProc,
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (2)
105LPARAM lp, 113LPARAM lp,
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
476PInvokeCore.SendMessage(_control, PInvokeCore.WM_PRINT, (WPARAM)hdcDraw, (LPARAM)flags);
System\Windows\Forms\Application.ComponentManager.cs (1)
56LPARAM lParam)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
356BOOL IMsoComponent.Interface.FDebugMessage(nint hInst, uint msg, WPARAM wparam, LPARAM lparam)
System\Windows\Forms\Control.cs (7)
1592PInvokeCore.SendMessage(this, PInvokeCore.WM_SETCURSOR, (WPARAM)HWND, (LPARAM)(int)PInvoke.HTCLIENT); 5022(LPARAM)(PInvoke.PRF_CHILDREN | PInvoke.PRF_CLIENT | PInvoke.PRF_ERASEBKGND | PInvoke.PRF_NONCLIENT)); 7189Message m = Message.Create(HWND, PInvokeCore.WM_PRINTCLIENT, (WPARAM)hdc, (LPARAM)flags); 8861PInvokeCore.SendMessage(this, PInvokeCore.WM_PRINT, (WPARAM)hDC, (LPARAM)lParam); 8878PInvokeCore.SendMessage(this, PInvokeCore.WM_PRINT, (WPARAM)dcWrapper.HDC, (LPARAM)lParam); 10717private void SetWindowFont() => PInvokeCore.SendMessage(this, PInvokeCore.WM_SETFONT, (WPARAM)FontHandle, (LPARAM)(BOOL)false); 11681PInvokeCore.SendMessage(this, PInvokeCore.WM_CONTEXTMENU, (WPARAM)HWND, (LPARAM)screenLocation);
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (2)
399PInvokeCore.SendMessage(_owningChildEdit, PInvokeCore.EM_SETSEL, (WPARAM)start, (LPARAM)end); 404int index = (int)PInvokeCore.SendMessage(_owningChildEdit, PInvokeCore.EM_CHARFROMPOS, (WPARAM)0, (LPARAM)pt);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (6)
988PInvokeCore.SendMessage(this, PInvoke.CB_GETEDITSEL, (WPARAM)(&start), (LPARAM)(&end)); 2209int actualLength = (int)PInvokeCore.SendMessage(this, PInvoke.CB_GETLBTEXT, (WPARAM)index, (LPARAM)b); 3244PInvokeCore.SendMessage(this, PInvoke.CB_SETEDITSEL, (WPARAM)0, LPARAM.MAKELPARAM(start, end)); 3386PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, (WPARAM)(-1), (LPARAM)ItemHeight); 3391PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, (WPARAM)(-1), (LPARAM)ItemHeight); 3400PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, (WPARAM)i, (LPARAM)mievent.ItemHeight);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (2)
1278PInvokeCore.SendMessage(this, PInvoke.DTM_SETMCCOLOR, (WPARAM)(int)colorIndex, (LPARAM)value); 1289PInvokeCore.SendMessage(this, PInvoke.DTM_SETMCFONT, (WPARAM)CalendarFontHandle, (LPARAM)(-1));
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
304PInvokeCore.SendMessage(this, PInvokeCore.WM_SETCURSOR, (WPARAM)HWND, (LPARAM)(int)PInvoke.HTCLIENT);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (2)
464PInvokeCore.SendMessage(this, PInvoke.LB_SETITEMHEIGHT, (WPARAM)0, (LPARAM)ItemHeight); 763PInvokeCore.SendMessage(this, PInvoke.LB_SETITEMHEIGHT, (WPARAM)0, (LPARAM)ItemHeight);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (5)
1574int actualLength = (int)PInvokeCore.SendMessage(this, PInvoke.LB_GETTEXT, (WPARAM)index, (LPARAM)b); 1641PInvokeCore.SendMessage(this, PInvoke.LB_SETSEL, (WPARAM)(BOOL)value, (LPARAM)index); 1680PInvokeCore.SendMessage(this, PInvoke.LB_GETSELITEMS, (WPARAM)count, (LPARAM)pResult); 1754PInvokeCore.SendMessage(this, PInvoke.LB_SETITEMHEIGHT, (WPARAM)0, (LPARAM)ItemHeight); 1770PInvokeCore.SendMessage(this, PInvoke.LB_SETTABSTOPS, (WPARAM)wpar, (LPARAM)pOffsets);
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
483PInvokeCore.SendMessage(ListView, PInvoke.LVM_SETCOLUMNORDERARRAY, (WPARAM)cols.Length, (LPARAM)pCols);
System\Windows\Forms\Controls\ListView\ListView.cs (35)
354PInvokeCore.SendMessage(this, PInvoke.LVM_SETBKCOLOR, (WPARAM)0, (LPARAM)BackColor); 559PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_STATE, (LPARAM)_imageListState.Handle); 814(LPARAM)PInvoke.LVNI_FOCUSED); 841PInvokeCore.SendMessage(this, PInvoke.LVM_SETTEXTCOLOR, (WPARAM)0, (LPARAM)ForeColor); 958(LPARAM)(value is null ? 0 : value.Handle)); 1222(LPARAM)(value?.Handle ?? 0)); 1457PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_SMALL, (LPARAM)(value?.Handle ?? 0)); 1565(LPARAM)(value?.Handle ?? 0)); 3371(LPARAM)PInvoke.LVS_EX_CHECKBOXES); 3568return (LIST_VIEW_ITEM_STATE_FLAGS)(uint)PInvokeCore.SendMessage(this, PInvoke.LVM_GETITEMSTATE, (WPARAM)index, (LPARAM)(uint)mask); 4305PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_NORMAL, (LPARAM)handle); 4542PInvokeCore.SendMessage(this, PInvoke.LVM_SETBKCOLOR, (WPARAM)0, (LPARAM)BackColor); 4543PInvokeCore.SendMessage(this, PInvoke.LVM_SETTEXTCOLOR, (WPARAM)0, (LPARAM)ForeColor); 4549PInvokeCore.SendMessage(this, PInvoke.LVM_SETTEXTBKCOLOR, (WPARAM)0, (LPARAM)PInvokeCore.CLR_NONE); 4686(LPARAM)exStyle); 4699(LPARAM)0); 4925PInvokeCore.SendMessage(this, PInvoke.LVM_SETBKCOLOR, (WPARAM)0, (LPARAM)BackColor); 4929PInvokeCore.SendMessage(this, PInvoke.LVM_SETTEXTBKCOLOR, (WPARAM)0, (LPARAM)PInvokeCore.CLR_NONE); 4987PInvokeCore.SendMessage(this, PInvoke.LVM_SETBKCOLOR, (WPARAM)0, (LPARAM)c); 4994PInvokeCore.SendMessage(this, PInvoke.LVM_SETTEXTCOLOR, (WPARAM)0, (LPARAM)c); 5000PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_NORMAL, (LPARAM)_imageListLarge.Handle); 5005PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_SMALL, (LPARAM)_imageListSmall.Handle); 5010PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_STATE, (LPARAM)_imageListState.Handle); 5015PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_GROUPHEADER, (LPARAM)_imageListGroup.Handle); 5039int retval = (int)PInvokeCore.SendMessage(this, PInvoke.LVM_REDRAWITEMS, (WPARAM)startIndex, (LPARAM)endIndex); 5153PInvokeCore.SendMessage(this, PInvoke.LVM_SCROLL, (WPARAM)0, (LPARAM)scrollY); 5340PInvokeCore.SendMessage(this, PInvoke.LVM_SETCOLUMNWIDTH, (WPARAM)columnIndex, LPARAM.MAKELPARAM(width, 0)); 5354(LPARAM)newWidth); 5363PInvokeCore.SendMessage(this, PInvoke.LVM_SETCOLUMNWIDTH, (WPARAM)index, LPARAM.MAKELPARAM(width, 0)); 5385(LPARAM)pOrderedColumns); 5563PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_SMALL, (LPARAM)handle); 5583PInvokeCore.SendMessage(this, PInvoke.LVM_SORTITEMS, (WPARAM)0, (LPARAM)callbackPointer); 5596PInvokeCore.SendMessage(this, PInvoke.LVM_SETIMAGELIST, (WPARAM)PInvoke.LVSIL_STATE, (LPARAM)handle); 5736(LPARAM)exStyle); 6883PInvokeCore.SendMessage(nmhdr->hwndFrom, PInvoke.TTM_SETMAXTIPWIDTH, (WPARAM)0, (LPARAM)SystemInformation.MaxWindowTrackSize.Width);
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (2)
230(LPARAM)PInvoke.LVNI_SELECTED); 248(WPARAM)nextSelected, (LPARAM)PInvoke.LVNI_SELECTED);
System\Windows\Forms\Controls\ListView\ListView.SelectedIndexCollection.cs (2)
62(LPARAM)PInvoke.LVNI_SELECTED); 110(LPARAM)PInvoke.LVNI_SELECTED);
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (2)
44(LPARAM)PInvoke.LVNI_SELECTED); 133(LPARAM)PInvoke.LVNI_SELECTED);
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
425(LPARAM)(uint)(LIST_VIEW_GROUP_STATE_FLAGS.LVGS_COLLAPSIBLE | LIST_VIEW_GROUP_STATE_FLAGS.LVGS_COLLAPSED));
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
169(LPARAM)(uint)LIST_VIEW_GROUP_STATE_FLAGS.LVGS_FOCUSED) == LIST_VIEW_GROUP_STATE_FLAGS.LVGS_FOCUSED;
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
241PInvokeCore.PostMessage(ancestor, PInvokeCore.WM_SYSCOMMAND, (WPARAM)PInvoke.SC_KEYMENU, (LPARAM)(int)Keys.Space);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (3)
1384PInvokeCore.SendMessage(this, PInvoke.MCM_SETFIRSTDAYOFWEEK, (WPARAM)0, (LPARAM)firstDay); 1686PInvokeCore.SendMessage(this, PInvoke.MCM_SETCOLOR, (WPARAM)(int)colorIndex, (LPARAM)value); 1821PInvokeCore.SendMessage(HWND, PInvoke.MCM_SETDAYSTATE, (WPARAM)monthsCount, (LPARAM)arr);
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (7)
252PInvokeCore.SendMessage(this, PInvoke.PBM_SETMARQUEE, (WPARAM)(BOOL)false, (LPARAM)_marqueeAnimationSpeed); 256PInvokeCore.SendMessage(this, PInvoke.PBM_SETMARQUEE, (WPARAM)(BOOL)true, (LPARAM)_marqueeAnimationSpeed); 292PInvokeCore.SendMessage(this, PInvoke.PBM_SETRANGE32, (WPARAM)_minimum, (LPARAM)_maximum); 330PInvokeCore.SendMessage(this, PInvoke.PBM_SETRANGE32, (WPARAM)_minimum, (LPARAM)_maximum); 598PInvokeCore.SendMessage(this, PInvoke.PBM_SETRANGE32, (WPARAM)_minimum, (LPARAM)_maximum); 601PInvokeCore.SendMessage(this, PInvoke.PBM_SETBKCOLOR, (WPARAM)0, (LPARAM)BackColor); 602PInvokeCore.SendMessage(this, PInvoke.PBM_SETBARCOLOR, (WPARAM)0, (LPARAM)ForeColor);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
142(LPARAM)SystemInformation.MaxWindowTrackSize.Width);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
2633PInvokeCore.SendMessage(EditTextBox, PInvokeCore.WM_LBUTTONUP, (WPARAM)0, (LPARAM)e.Location); 3479PInvokeCore.SendMessage(EditTextBox, PInvokeCore.WM_LBUTTONUP, (WPARAM)0, (LPARAM)editPoint);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (2)
97(delegate* unmanaged[Stdcall]<int, WPARAM, LPARAM, LRESULT>)hook, 108private unsafe LRESULT MouseHookProc(int nCode, WPARAM wparam, LPARAM lparam)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (7)
173(LPARAM)(int)PInvoke.ECO_AUTOWORDSELECTION); 1297(LPARAM)(int)PInvoke.ECO_SELECTIONBAR); 2446PInvokeCore.SendMessage(this, PInvokeCore.EM_SETBKGNDCOLOR, (WPARAM)0, (LPARAM)BackColor); 2491(LPARAM)(int)PInvoke.ECO_SELECTIONBAR); 2677PInvokeCore.SendMessage(this, PInvokeCore.EM_SETZOOM, (WPARAM)numerator, (LPARAM)denominator); 3054int actualLength = (int)PInvokeCore.SendMessage(this, PInvokeCore.EM_GETTEXTEX, (WPARAM)pGt, (LPARAM)b); 3392PInvokeCore.PostMessage(this, PInvokeCore.EM_SETSEL, (WPARAM)(selEnd - 1), (LPARAM)selEnd);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1749PInvokeCore.SendMessage(this, PInvokeCore.EM_SETSEL, (WPARAM)start, (LPARAM)end); 1862PInvokeCore.SendMessage(this, PInvokeCore.EM_SETSEL, (WPARAM)start, (LPARAM)end);
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (2)
406(LPARAM)linesVertical) != 0; 427PInvokeCore.SendMessage(Owner, PInvokeCore.EM_SETSEL, (WPARAM)start, (LPARAM)end);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2660(LPARAM)(uint)(PInvoke.PRF_CHILDREN | PInvoke.PRF_CLIENT | PInvoke.PRF_ERASEBKGND | PInvoke.PRF_NONCLIENT));
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1984PInvokeCore.SendMessage(activeWindow, PInvokeCore.WM_NCACTIVATE, (WPARAM)(BOOL)true, (LPARAM)(-1));
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.HostedWindowsFormsMessageHook.cs (2)
68(delegate* unmanaged[Stdcall]<int, WPARAM, LPARAM, LRESULT>)hook, 81private unsafe LRESULT MessageHookProc(int nCode, WPARAM wparam, LPARAM lparam)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (9)
438PInvokeCore.SendMessage(this, PInvoke.TBM_SETRANGEMAX, (WPARAM)(BOOL)true, (LPARAM)_maximum); 795PInvokeCore.SendMessage(this, PInvoke.TBM_CLEARTICS, (WPARAM)1, (LPARAM)0); 862PInvokeCore.SendMessage(this, PInvoke.TBM_SETRANGEMIN, (WPARAM)(BOOL)false, (LPARAM)_minimum); 863PInvokeCore.SendMessage(this, PInvoke.TBM_SETRANGEMAX, (WPARAM)(BOOL)false, (LPARAM)_maximum); 873PInvokeCore.SendMessage(this, PInvoke.TBM_SETPAGESIZE, (WPARAM)0, (LPARAM)_largeChange); 874PInvokeCore.SendMessage(this, PInvoke.TBM_SETLINESIZE, (WPARAM)0, (LPARAM)_smallChange); 1061PInvokeCore.SendMessage(this, PInvoke.TBM_SETRANGEMIN, (WPARAM)(BOOL)false, (LPARAM)_minimum); 1062PInvokeCore.SendMessage(this, PInvoke.TBM_SETRANGEMAX, (WPARAM)(BOOL)true, (LPARAM)_maximum); 1120PInvokeCore.SendMessage(this, PInvoke.TBM_SETPOS, (WPARAM)(BOOL)true, (LPARAM)reflectedValue);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (8)
706(LPARAM)node.Handle); 864(LPARAM)node.Handle); 1290PInvokeCore.SendMessage(tv, PInvoke.TVM_EDITLABELW, 0, (LPARAM)HTREEITEMInternal); 1473PInvokeCore.SendMessage(tv, PInvoke.TVM_EXPAND, (WPARAM)(uint)NM_TREEVIEW_ACTION.TVE_COLLAPSE, (LPARAM)Handle); 1679PInvokeCore.SendMessage(tv, PInvoke.TVM_EXPAND, (WPARAM)(uint)NM_TREEVIEW_ACTION.TVE_EXPAND, (LPARAM)Handle); 1895PInvokeCore.PostMessage(tv, PInvoke.TVM_EDITLABELW, default, (LPARAM)HTREEITEMInternal); 1984PInvokeCore.SendMessage(tv, PInvoke.TVM_DELETEITEM, 0, (LPARAM)HTREEITEMInternal); 2177item.lParam = (LPARAM)HTREEITEMInternal;
System\Windows\Forms\Controls\TreeView\TreeView.cs (7)
1117PInvokeCore.SendMessage(this, PInvoke.TVM_SELECTITEM, (WPARAM)PInvoke.TVGN_CARET, (LPARAM)hnode); 1319PInvokeCore.SendMessage(this, PInvoke.TVM_SELECTITEM, (WPARAM)PInvoke.TVGN_FIRSTVISIBLE, (LPARAM)hnode); 1988PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, (WPARAM)PInvoke.TVSIL_STATE, (LPARAM)newImageList.Handle); 1998IntPtr handleOld = PInvokeCore.SendMessage(this, PInvoke.TVM_SETIMAGELIST, (WPARAM)PInvoke.TVSIL_STATE, (LPARAM)handle); 2639(LPARAM)(nint)(DoubleBuffered ? PInvoke.TVS_EX_DOUBLEBUFFER : 0)); 3051PInvokeCore.SendMessage(this, PInvokeCore.WM_CONTEXTMENU, (WPARAM)HWND, (LPARAM)PInvoke.GetMessagePos()); 3103PInvokeCore.PostMessage(this, PInvoke.TVM_SELECTITEM, (WPARAM)PInvoke.TVGN_DROPHILITE, (LPARAM)treeNode.Handle);
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (2)
313LPARAM lp, 321LPARAM lp,
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (5)
24private readonly unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> _functionPointer; 33_functionPointer = (delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint>)(void*)Marshal.GetFunctionPointerForDelegate(_hookProc); 54internal LRESULT HookProcInternal(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 57private protected unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> HookProcFunctionPointer 117private LRESULT OwnerWndProcInternal(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (2)
488private static unsafe int FolderBrowserDialog_BrowseCallbackProc(HWND hwnd, uint msg, LPARAM lParam, LPARAM lpData)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (12)
273LPARAM lParam, 757(LPARAM)animationSpeed); 779LPARAM.MAKELPARAM(min, max)); 810(LPARAM)(BOOL)focus); 815(LPARAM)(BOOL)requiresElevation); 820(LPARAM)(BOOL)enable); 825(LPARAM)(BOOL)enable); 865SendTaskDialogMessage(TASKDIALOG_MESSAGES.TDM_SET_ELEMENT_TEXT, (WPARAM)(int)element, (LPARAM)textPtr); 880SendTaskDialogMessage(TASKDIALOG_MESSAGES.TDM_UPDATE_ICON, (WPARAM)(int)element, (LPARAM)icon); 912LPARAM lParam) 1310(LPARAM)ptrTaskDialogConfig, 1662LPARAM lParam = default,
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
125(LPARAM)SystemInformation.MaxWindowTrackSize.Width);
System\Windows\Forms\Form.cs (3)
3414PInvokeCore.SendMessage(TaskbarOwner, PInvokeCore.WM_SETICON, (WPARAM)PInvoke.ICON_BIG, (LPARAM)icon.Handle); 6468PInvokeCore.SendMessage(this, PInvokeCore.WM_SETICON, (WPARAM)PInvoke.ICON_SMALL, (LPARAM)_smallIcon.Handle); 6475PInvokeCore.SendMessage(this, PInvokeCore.WM_SETICON, (WPARAM)PInvoke.ICON_BIG, (LPARAM)icon.Handle);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
455PInvokeCore.SendMessage(this, PInvokeCore.WM_SETCURSOR, (WPARAM)HWND, (LPARAM)(int)PInvoke.HTCLIENT);
System\Windows\Forms\NativeWindow.cs (1)
340private LRESULT Callback(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam)
System\Windows\Forms\NativeWindow.WindowClass.cs (2)
42public LRESULT Callback(HWND hwnd, uint msg, WPARAM wparam, LPARAM lparam) 158windowClass.lpfnWndProc = (delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)callback;
System\Windows\Forms\SendKeys\SendKeys.cs (1)
264private static unsafe LRESULT EmptyHookCallback(int nCode, WPARAM wparam, LPARAM lparam) => (LRESULT)0;
System\Windows\Forms\SendKeys\SendKeys.SendKeysHookProc.cs (1)
26public static unsafe LRESULT Callback(int nCode, WPARAM wparam, LPARAM lparam)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1181PInvokeCore.SendMessage(this, PInvoke.TTM_SETDELAYTIME, (WPARAM)type, (LPARAM)time);
System\Windows\Forms\WindowSubclassHandler.cs (1)
266LPARAM lParam)
System.Windows.Forms.Design (6)
System\ComponentModel\Design\ObjectSelectorEditor.cs (1)
70PInvokeCore.SendMessage(hwnd, PInvoke.TVM_SETEXTENDEDSTYLE, (WPARAM)0, (LPARAM)exstyle);
System\Drawing\Design\ColorEditor.CustomColorDialog.cs (1)
135(LPARAM)PInvoke.GetDlgItem((HWND)hwnd, (int)MESSAGEBOX_RESULT.IDOK));
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (2)
81(delegate* unmanaged[Stdcall]<int, WPARAM, LPARAM, LRESULT>)hook, 91private unsafe LRESULT MouseHookProc(int nCode, WPARAM wparam, LPARAM lparam)
System\Windows\Forms\Design\DesignerUtils.cs (2)
447(LPARAM)(uint)(PInvoke.PRF_CHILDREN | PInvoke.PRF_CLIENT | PInvoke.PRF_ERASEBKGND | PInvoke.PRF_NONCLIENT)); 855(LPARAM)PInvoke.LVS_EX_DOUBLEBUFFER);
System.Windows.Forms.Primitives (105)
Microsoft\Office\IMsoComponent.cs (6)
35internal delegate* unmanaged[Stdcall]<IMsoComponent*, nint, uint, WPARAM, LPARAM, BOOL> FDebugMessage_4; 50private static BOOL FDebugMessage(IMsoComponent* @this, nint hInst, uint msg, WPARAM wParam, LPARAM lParam) 145/// <inheritdoc cref="Interface.FDebugMessage(nint, uint, WPARAM, LPARAM)"/> 146public BOOL FDebugMessage(nint hInst, uint msg, WPARAM wParam, LPARAM lParam) 149return ((delegate* unmanaged[Stdcall]<IMsoComponent*, nint, uint, WPARAM, LPARAM, BOOL>)_lpVtbl[3])( 267LPARAM lParam);
Microsoft\Office\IMsoComponentManager.cs (4)
65/// <inheritdoc cref="Interface.FDebugMessage(nint, uint, WPARAM, LPARAM)"/> 66public BOOL FDebugMessage(nint dwReserved, uint msg, WPARAM wParam, LPARAM lParam) 69return ((delegate* unmanaged[Stdcall]<IMsoComponentManager*, nint, uint, WPARAM, LPARAM, BOOL>)_lpVtbl[4]) 248LPARAM lParam);
Microsoft\Office\IMsoComponentManager.NativeAdapter.cs (1)
28BOOL Interface.FDebugMessage(nint dwReserved, uint msg, WPARAM wParam, LPARAM lParam)
System\Windows\Forms\Internals\MessageDecoder.cs (1)
19private static string ToString(HWND hwnd, MessageId messageId, WPARAM wparam, LPARAM lparam, LRESULT result)
System\Windows\Forms\Message.cs (3)
23internal LPARAM LParamInternal; 94internal static Message Create(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 97internal static Message Create(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
Windows.Win32.BROWSEINFOW.g.cs (3)
61 internal unsafe delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LPARAM,int> lpfn; 67 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.HDITEMW.g.cs (1)
70 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.IOleInPlaceObjectWindowless.g.cs (7)
226 /// <inheritdoc cref="OnWindowMessage(uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*)"/> 227 internal unsafe void OnWindowMessage(uint msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, out winmdroot.Foundation.LRESULT plResult) 238 private static winmdroot.Foundation.HRESULT OnWindowMessage(IOleInPlaceObjectWindowless* pThis, uint msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.Foundation.LRESULT* plResult) 269 public unsafe void OnWindowMessage(uint msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.Foundation.LRESULT* plResult) 271 ((delegate *unmanaged [Stdcall]<IOleInPlaceObjectWindowless*,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IOleInPlaceObjectWindowless*)Unsafe.AsPointer(ref this), msg, wParam, lParam, plResult).ThrowOnFailure(); 349 internal delegate *unmanaged [Stdcall]<IOleInPlaceObjectWindowless*,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,winmdroot.Foundation.HRESULT> OnWindowMessage_10; 403 unsafe winmdroot.Foundation.HRESULT OnWindowMessage(uint msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.Foundation.LRESULT* plResult);
Windows.Win32.IShellFolder.g.cs (7)
301 /// <inheritdoc cref="CompareIDs(winmdroot.Foundation.LPARAM, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.UI.Shell.Common.ITEMIDLIST*)"/> 302 internal unsafe winmdroot.Foundation.HRESULT CompareIDs(winmdroot.Foundation.LPARAM lParam, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl1, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl2) 317 private static winmdroot.Foundation.HRESULT CompareIDs(IShellFolder* pThis, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl1, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl2) 358 public unsafe winmdroot.Foundation.HRESULT CompareIDs(winmdroot.Foundation.LPARAM lParam, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl1, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl2) 360 return ((delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.LPARAM ,winmdroot.UI.Shell.Common.ITEMIDLIST* ,winmdroot.UI.Shell.Common.ITEMIDLIST* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IShellFolder*)Unsafe.AsPointer(ref this), lParam, pidl1, pidl2); 707 internal delegate *unmanaged [Stdcall]<IShellFolder*,winmdroot.Foundation.LPARAM ,winmdroot.UI.Shell.Common.ITEMIDLIST* ,winmdroot.UI.Shell.Common.ITEMIDLIST* ,winmdroot.Foundation.HRESULT> CompareIDs_8; 765 unsafe winmdroot.Foundation.HRESULT CompareIDs(winmdroot.Foundation.LPARAM lParam, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl1, winmdroot.UI.Shell.Common.ITEMIDLIST* pidl2);
Windows.Win32.ISimpleFrameSite.g.cs (14)
55 /// <inheritdoc cref="PreMessageFilter(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*, uint*)"/> 56 internal unsafe void PreMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, out winmdroot.Foundation.LRESULT plResult, out uint pdwCookie) 70 private static winmdroot.Foundation.HRESULT PreMessageFilter(ISimpleFrameSite* pThis, winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint* pdwCookie) 99 public unsafe void PreMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint* pdwCookie) 101 ((delegate *unmanaged [Stdcall]<ISimpleFrameSite*,winmdroot.Foundation.HWND ,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ISimpleFrameSite*)Unsafe.AsPointer(ref this), hWnd, msg, wp, lp, plResult, pdwCookie).ThrowOnFailure(); 104 /// <inheritdoc cref="PostMessageFilter(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*, uint)"/> 105 internal unsafe void PostMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, out winmdroot.Foundation.LRESULT plResult, uint dwCookie) 116 private static winmdroot.Foundation.HRESULT PostMessageFilter(ISimpleFrameSite* pThis, winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint dwCookie) 147 public unsafe void PostMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint dwCookie) 149 ((delegate *unmanaged [Stdcall]<ISimpleFrameSite*,winmdroot.Foundation.HWND ,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((ISimpleFrameSite*)Unsafe.AsPointer(ref this), hWnd, msg, wp, lp, plResult, dwCookie).ThrowOnFailure(); 179 internal delegate *unmanaged [Stdcall]<ISimpleFrameSite*,winmdroot.Foundation.HWND ,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,uint* ,winmdroot.Foundation.HRESULT> PreMessageFilter_4; 181 internal delegate *unmanaged [Stdcall]<ISimpleFrameSite*,winmdroot.Foundation.HWND ,uint ,winmdroot.Foundation.WPARAM ,winmdroot.Foundation.LPARAM ,winmdroot.Foundation.LRESULT* ,uint ,winmdroot.Foundation.HRESULT> PostMessageFilter_5; 209 unsafe winmdroot.Foundation.HRESULT PreMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint* pdwCookie); 212 unsafe winmdroot.Foundation.HRESULT PostMessageFilter(winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, winmdroot.Foundation.LRESULT* plResult, uint dwCookie);
Windows.Win32.LVFINDINFOW.g.cs (1)
43 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.LVITEMW.g.cs (1)
95 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.NMCUSTOMDRAW.g.cs (1)
65 internal winmdroot.Foundation.LPARAM lItemlParam;
Windows.Win32.NMLISTVIEW.g.cs (1)
77 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.NMLVGETINFOTIPW.g.cs (1)
72 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.NMTTDISPINFOW.g.cs (1)
68 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.PInvoke.UIAutomationCore.dll.g.cs (1)
204 internal static extern unsafe winmdroot.Foundation.LRESULT UiaReturnRawElementProvider(winmdroot.Foundation.HWND hwnd, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.Accessibility.IRawElementProviderSimple* el);
Windows.Win32.PInvoke.USER32.dll.g.cs (12)
237 internal static extern winmdroot.Foundation.LRESULT CallNextHookEx(winmdroot.UI.WindowsAndMessaging.HHOOK hhk, int nCode, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 555 internal static extern winmdroot.Foundation.LRESULT DefFrameProc(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.HWND hWndMDIClient, uint uMsg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 585 internal static extern winmdroot.Foundation.LRESULT DefMDIChildProc(winmdroot.Foundation.HWND hWnd, uint uMsg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 2578 internal static winmdroot.Foundation.BOOL PostThreadMessage(uint idThread, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam) 2586 static extern winmdroot.Foundation.BOOL LocalExternFunction(uint idThread, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 2880 internal static extern winmdroot.Foundation.LRESULT SendDlgItemMessage(winmdroot.Foundation.HWND hDlg, int nIDDlgItem, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam); 2960 internal static unsafe winmdroot.Foundation.BOOL SendMessageCallback(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,nuint,global::Windows.Win32.Foundation.LRESULT,void> lpResultCallBack, nuint dwData) 2968 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,nuint,global::Windows.Win32.Foundation.LRESULT,void> lpResultCallBack, nuint dwData); 3006 internal static unsafe winmdroot.Foundation.LRESULT SendMessageTimeout(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.WindowsAndMessaging.SEND_MESSAGE_TIMEOUT_FLAGS fuFlags, uint uTimeout, [Optional] nuint* lpdwResult) 3014 static extern unsafe winmdroot.Foundation.LRESULT LocalExternFunction(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, winmdroot.UI.WindowsAndMessaging.SEND_MESSAGE_TIMEOUT_FLAGS fuFlags, uint uTimeout, [Optional] nuint* lpdwResult); 3578 internal static unsafe winmdroot.UI.WindowsAndMessaging.HHOOK SetWindowsHookEx(winmdroot.UI.WindowsAndMessaging.WINDOWS_HOOK_ID idHook, delegate *unmanaged[Stdcall]<int,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LRESULT> lpfn, winmdroot.Foundation.HINSTANCE hmod, uint dwThreadId) 3586 static extern unsafe winmdroot.UI.WindowsAndMessaging.HHOOK LocalExternFunction(winmdroot.UI.WindowsAndMessaging.WINDOWS_HOOK_ID idHook, delegate *unmanaged[Stdcall]<int,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LRESULT> lpfn, winmdroot.Foundation.HINSTANCE hmod, uint dwThreadId);
Windows.Win32.System_Ole_IOleInPlaceObjectWindowless_Extensions.g.cs (2)
46 /// <inheritdoc cref="winmdroot.System.Ole.IOleInPlaceObjectWindowless.Interface.OnWindowMessage(uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*)"/> 47 internal static unsafe winmdroot.Foundation.HRESULT OnWindowMessage(this winmdroot.System.Ole.IOleInPlaceObjectWindowless.Interface @this, uint msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam, out winmdroot.Foundation.LRESULT plResult)
Windows.Win32.System_Ole_ISimpleFrameSite_Extensions.g.cs (4)
23 /// <inheritdoc cref="winmdroot.System.Ole.ISimpleFrameSite.Interface.PreMessageFilter(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*, uint*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT PreMessageFilter(this winmdroot.System.Ole.ISimpleFrameSite.Interface @this, winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, out winmdroot.Foundation.LRESULT plResult, out uint pdwCookie) 36 /// <inheritdoc cref="winmdroot.System.Ole.ISimpleFrameSite.Interface.PostMessageFilter(winmdroot.Foundation.HWND, uint, winmdroot.Foundation.WPARAM, winmdroot.Foundation.LPARAM, winmdroot.Foundation.LRESULT*, uint)"/> 37 internal static unsafe winmdroot.Foundation.HRESULT PostMessageFilter(this winmdroot.System.Ole.ISimpleFrameSite.Interface @this, winmdroot.Foundation.HWND hWnd, uint msg, winmdroot.Foundation.WPARAM wp, winmdroot.Foundation.LPARAM lp, out winmdroot.Foundation.LRESULT plResult, uint dwCookie)
Windows.Win32.TASKDIALOGCONFIG.g.cs (1)
157 internal unsafe delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,nint,global::Windows.Win32.Foundation.HRESULT> pfCallback;
Windows.Win32.TCITEMW.g.cs (1)
69 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.TTTOOLINFOW.g.cs (1)
74 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.TVITEMEXW.g.cs (1)
83 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.TVITEMW.g.cs (1)
85 internal winmdroot.Foundation.LPARAM lParam;
Windows.Win32.UI_Shell_IShellFolder_Extensions.g.cs (2)
68 /// <inheritdoc cref="winmdroot.UI.Shell.IShellFolder.Interface.CompareIDs(winmdroot.Foundation.LPARAM, winmdroot.UI.Shell.Common.ITEMIDLIST*, winmdroot.UI.Shell.Common.ITEMIDLIST*)"/> 69 internal static unsafe winmdroot.Foundation.HRESULT CompareIDs(this winmdroot.UI.Shell.IShellFolder.Interface @this, winmdroot.Foundation.LPARAM lParam, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl1, in winmdroot.UI.Shell.Common.ITEMIDLIST pidl2)
Windows.Win32.WNDCLASSW.g.cs (1)
40 internal unsafe delegate *unmanaged[Stdcall]<global::Windows.Win32.Foundation.HWND,uint,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LRESULT> lpfnWndProc;
Windows\Win32\HOOKPROC.cs (1)
6internal delegate LRESULT HOOKPROC(int nCode, WPARAM wParam, LPARAM lParam);
Windows\Win32\PInvoke.SendMessageCallback.cs (1)
16LPARAM lParam = default)
Windows\Win32\PInvoke.UiaReturnRawElementProvider.cs (2)
10/// <inheritdoc cref="UiaReturnRawElementProvider(HWND, WPARAM, LPARAM, IRawElementProviderSimple*)"/> 14LPARAM lParam,
Windows\Win32\UI\Controls\Dialogs\CHOOSECOLORW.cs (2)
131public LPARAM lCustData; 146public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnHook;
Windows\Win32\UI\Controls\Dialogs\CHOOSEFONTW.cs (2)
127public LPARAM lCustData; 142public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnHook;
Windows\Win32\UI\Controls\Dialogs\OPENFILENAME.cs (1)
26public LPARAM lCustData;
Windows\Win32\UI\Controls\Dialogs\PAGESETUPDLGW.cs (3)
172public LPARAM lCustData; 187public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnPageSetupHook; 203public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnPagePaintHook;
Windows\Win32\UI\Controls\Dialogs\PRINTDLGW_32.cs (3)
40public LPARAM lCustData; 42public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnPrintHook; 44public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnSetupHook;
Windows\Win32\UI\Controls\Dialogs\PRINTDLGW_64.cs (3)
240public LPARAM lCustData; 255public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnPrintHook; 270public unsafe delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, nuint> lpfnSetupHook;
Windows\Win32\UI\Controls\HTREEITEM.cs (3)
8public static explicit operator LPARAM(HTREEITEM value) => (LPARAM)value.Value; 9public static explicit operator HTREEITEM(LPARAM value) => (HTREEITEM)value.Value;
Windows\Win32\UI\Controls\ToolInfoWrapper.cs (1)
47LRESULT result = PInvokeCore.SendMessage(sender, message, (WPARAM)(BOOL)state, (LPARAM)i);
Windows\Win32\UI\Shell\FolderBrowserHelper.cs (3)
21delegate* unmanaged[Stdcall]<HWND, uint, LPARAM, LPARAM, int> callback, 22LPARAM lParam)
System.Windows.Forms.Primitives.Tests (1)
Interop\User32\GetWindowTextTests.cs (1)
57protected override LRESULT WNDPROC(HWND hWnd, uint msg, WPARAM wParam, LPARAM lParam)
System.Windows.Forms.Primitives.TestUtilities (6)
Metafiles\EmfRecord.cs (2)
15public LPARAM Data { get; } 22LPARAM data)
Metafiles\EmfScope.cs (2)
86(delegate* unmanaged[Stdcall]<HDC, HANDLETABLE*, ENHMETARECORD*, int, LPARAM, int>)callback, 238LPARAM data)
Win32\WindowClass.cs (2)
93lpfnWndProc = (delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)Marshal.GetFunctionPointerForDelegate(_windowProcedure), 217protected virtual LRESULT WNDPROC(HWND hWnd, uint msg, WPARAM wParam, LPARAM lParam)
System.Windows.Forms.Tests (17)
System\Windows\Forms\Application.ComponentManagerTests.cs (1)
347BOOL IMsoComponent.Interface.FDebugMessage(nint hInst, uint msg, WPARAM wParam, LPARAM lParam)
System\Windows\Forms\FileDialogTests.cs (3)
673Assert.Equal((LPARAM)0, o.lCustData); 730Assert.Equal((LPARAM)0, o.lCustData); 769Assert.Equal((LPARAM)0, o.lCustData);
System\Windows\Forms\ListViewTests.cs (1)
5491PInvokeCore.SendMessage(listView, PInvokeCore.WM_KEYUP, (WPARAM)keyCode, (LPARAM)lParam);
System\Windows\Forms\RichTextBoxTests.cs (5)
567PInvokeCore.SendMessage(control, PInvokeCore.EM_SETOPTIONS, (WPARAM)(int)PInvoke.ECOOP_OR, (LPARAM)(int)PInvoke.ECO_AUTOWORDSELECTION); 5551IntPtr result = PInvokeCore.SendMessage(control, PInvokeCore.EM_GETSEL, (WPARAM)(&selectionStart), (LPARAM)(&selectionEnd)); 6141IntPtr result = PInvokeCore.SendMessage(control, PInvokeCore.EM_GETSEL, (WPARAM)(&selectionStart), (LPARAM)(&selectionEnd)); 6581PInvokeCore.SendMessage(control, PInvokeCore.EM_SETOPTIONS, (WPARAM)(int)PInvoke.ECOOP_OR, (LPARAM)(nint)PInvoke.ECO_SELECTIONBAR); 10532PInvokeCore.SendMessage(control, PInvokeCore.EM_SETMARGINS, (WPARAM)(PInvoke.EC_LEFTMARGIN | PInvoke.EC_RIGHTMARGIN), LPARAM.MAKELPARAM(1, 2));
System\Windows\Forms\ToolTipTests.cs (1)
902int size = (int)&toolInfo.lParam - (int)&toolInfo + sizeof(LPARAM);
TextBoxBaseTests.cs (6)
2920(LPARAM)(&selectionEnd)); 3097(LPARAM)(&selectionEnd)); 4163(LPARAM)(&selectionEnd)); 6305(LPARAM)(&selectionEnd)); 6441(LPARAM)(&selectionEnd)); 7653LPARAM.MAKELPARAM(1, 2));
System.Windows.Forms.TestUtilities (1)
ControlExtensions.cs (1)
20PInvokeCore.SendMessage(control, PInvokeCore.WM_PRINT, (WPARAM)emf.HDC, (LPARAM)(uint)prf);