2 instantiations of LRESULT
System.Private.Windows.Core (2)
Windows.Win32.LRESULT.g.cs (1)
33 public static explicit operator LRESULT(nint value) => new LRESULT(value);
Windows\Win32\Foundation\LRESULT.cs (1)
17public static explicit operator LRESULT(BOOL value) => new((nint)value);
282 references to LRESULT
System.Private.Windows.Core (35)
Windows.Win32.LRESULT.g.cs (9)
25 : IEquatable<LRESULT> 31 public static implicit operator nint(LRESULT value) => value.Value; 33 public static explicit operator LRESULT(nint value) => new LRESULT(value); 35 public static bool operator ==(LRESULT left, LRESULT right) => left.Value == right.Value; 37 public static bool operator !=(LRESULT left, LRESULT right) => !(left == right); 39 public bool Equals(LRESULT other) => this.Value == other.Value; 41 public override bool Equals(object obj) => obj is LRESULT other && this.Equals(other);
Windows.Win32.PInvokeCore.USER32.dll.g.cs (6)
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); 1013 internal static winmdroot.Foundation.LRESULT SendMessage(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam) 1016 winmdroot.Foundation.LRESULT __retVal = LocalExternFunction(hWnd, Msg, wParam, 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\LRESULT.cs (11)
8public static explicit operator int(LRESULT value) => (int)value.Value; 9public static explicit operator uint(LRESULT value) => (uint)value.Value; 10public static explicit operator nuint(LRESULT value) => (nuint)value.Value; 11public static explicit operator char(LRESULT value) => (char)value.Value; 12public static explicit operator HWND(LRESULT value) => (HWND)value.Value; 13public static explicit operator HFONT(LRESULT value) => (HFONT)value.Value; 14public static explicit operator HICON(LRESULT value) => (HICON)value.Value; 16public static explicit operator BOOL(LRESULT value) => (BOOL)value.Value; 17public static explicit operator LRESULT(BOOL value) => new((nint)value); 29public static LRESULT MAKELONG(int low, int high) => (LRESULT)((int)(((ushort)(((nuint)low) & 0xffff))
Windows\Win32\PInvokeCore.CallWindowProc.cs (3)
8internal static unsafe LRESULT CallWindowProc<T>(void* lpPrevWndFunc, T hWnd, uint Msg, WPARAM wParam, LPARAM lParam) 11LRESULT result = CallWindowProc( 12(delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)lpPrevWndFunc,
Windows\Win32\PInvokeCore.SendMessage.cs (5)
9public static LRESULT SendMessage<T>( 15LRESULT result = SendMessage(hWnd.Handle, (uint)Msg, wParam, lParam); 21public static LRESULT SendMessage<THwnd, TWParam>( 27LRESULT result = SendMessage(hWnd.Handle, (uint)Msg, (WPARAM)wParam.Handle, lParam); 33public static unsafe LRESULT SendMessage<T>(
Windows\Win32\UI\WindowsAndMessaging\WNDPROC.cs (1)
6internal delegate LRESULT WNDPROC(HWND hWnd, uint msg, WPARAM wParam, LPARAM lParam);
System.Windows.Forms (162)
System\Windows\Forms\ActiveX\AxHost.cs (2)
3195m.ResultInternal = (LRESULT)REGMSG_RETVAL; 3213(delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)wndProc,
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (2)
106LRESULT* plResult, 114LRESULT* plResult,
System\Windows\Forms\Control.cs (12)
6581m.ResultInternal = (LRESULT)((value.Length + 1) * sizeof(char)); 6587m.ResultInternal = (LRESULT)(-1); 6602m.ResultInternal = (LRESULT)((bytes.Length + nullBytes.Length) / sizeof(char)); 11250m.ResultInternal = (LRESULT)(nint)control.InitializeDCForWmCtlColor((HDC)(nint)m.WParamInternal, m.MsgInternal); 11282m.ResultInternal = (LRESULT)0; 11291m.ResultInternal = (LRESULT)1; 11731m.ResultInternal = (LRESULT)(BOOL)e.Handled; 11971m.ResultInternal = (LRESULT)1; 12365m.ResultInternal = (LRESULT)0; 12526m.ResultInternal = (LRESULT)0; 12531m.ResultInternal = (LRESULT)0; 12555m.ResultInternal = (LRESULT)(nint)PInvoke.NFR_UNICODE;
System\Windows\Forms\Control.Ime.cs (1)
545m.ResultInternal = (LRESULT)0;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (6)
3454m.ResultInternal = (LRESULT)1; 3595m.ResultInternal = (LRESULT)1; 3617m.ResultInternal = (LRESULT)1; 3689m.ResultInternal = (LRESULT)s_darkEditBrush; 3707m.ResultInternal = (LRESULT)s_darkEditBrush; 3716m.ResultInternal = (LRESULT)(nint)InitializeDCForWmCtlColor((HDC)(nint)m.WParamInternal, m.MsgInternal);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
30015m.ResultInternal = (LRESULT)(m.ResultInternal | (nint)PInvoke.DLGC_WANTARROWS | (nint)PInvoke.DLGC_WANTCHARS); 30020m.ResultInternal = (LRESULT)(m.ResultInternal | (nint)PInvoke.DLGC_WANTTAB);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
677m.ResultInternal = (LRESULT)1; 703m.ResultInternal = (LRESULT)0;
System\Windows\Forms\Controls\Labels\Label.cs (1)
1435m.ResultInternal = (LRESULT)(nint)(rectInScreen.Contains(pt) ? PInvoke.HTCLIENT : PInvoke.HTNOWHERE);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (6)
925m.ResultInternal = (LRESULT)(-1); 938m.ResultInternal = (LRESULT)(-1); 949m.ResultInternal = (LRESULT)PInvoke.LB_ERR; 953m.ResultInternal = (LRESULT)(GetItemChecked(item) ? LB_CHECKED : LB_UNCHECKED); 962m.ResultInternal = (LRESULT)0; 967m.ResultInternal = (LRESULT)1;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
2369m.ResultInternal = (LRESULT)1; 2389m.ResultInternal = (LRESULT)1;
System\Windows\Forms\Controls\ListView\ListView.cs (27)
2599m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NOTIFYITEMDRAW; 2604m.ResultInternal = (LRESULT)(nint)(PInvoke.CDRF_NOTIFYSUBITEMDRAW | PInvoke.CDRF_NEWFONT); 2621m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NEWFONT; 2664m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NOTIFYSUBITEMDRAW; 2670m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_SKIPDEFAULT; 2682m.ResultInternal = (LRESULT)(nint)(PInvoke.CDRF_NOTIFYSUBITEMDRAW | PInvoke.CDRF_NEWFONT); 2757m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_SKIPDEFAULT; 2767m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NEWFONT; 2918m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NEWFONT; 2929m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_DODEFAULT; 2936m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_DODEFAULT; 6016m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NOTIFYITEMDRAW; 6025m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_DODEFAULT; 6051m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NOTIFYITEMDRAW; 6073m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_DODEFAULT; 6078m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_SKIPDEFAULT; 6090m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_DODEFAULT; 6132m.ResultInternal = (LRESULT)(colWidthChanging.Cancel ? 1 : 0); 6215m.ResultInternal = (LRESULT)1; 6266m.ResultInternal = (LRESULT)1; 6348m.ResultInternal = (LRESULT)1; 6491m.ResultInternal = (LRESULT)(nint)(BOOL)cancelEdit; 6543m.ResultInternal = (LRESULT)(nint)(BOOL)!e.CancelEdit; 6603m.ResultInternal = (LRESULT)(nint)(BOOL)(e.NewValue == oldState); 6901m.ResultInternal = (LRESULT)(-1); 6946m.ResultInternal = sviEvent.Index != -1 ? (LRESULT)sviEvent.Index : (LRESULT)(-1);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
2155m.ResultInternal = (LRESULT)(nint)PInvoke.DLGC_WANTARROWS;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (5)
4270m.ResultInternal = (LRESULT)(nint)(BOOL)CanUndo; 4281m.ResultInternal = (LRESULT)(nint)(BOOL)CanCut; 4293m.ResultInternal = (LRESULT)(nint)(BOOL)CanCopy; 4305m.ResultInternal = (LRESULT)(nint)(BOOL)CanPaste; 4319m.ResultInternal = (LRESULT)1;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
182msg.ResultInternal = (LRESULT)PInvoke.HTTRANSPARENT;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
5316m.ResultInternal = (LRESULT)1; 5373m.ResultInternal = (LRESULT)(nint)flags;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
689m.ResultInternal = (LRESULT)0;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (3)
300m.ResultInternal = (LRESULT)1; 356m.ResultInternal = (LRESULT)(m.ResultInternal | (nint)(PInvoke.DLGC_WANTARROWS | PInvoke.DLGC_WANTCHARS)); 359m.ResultInternal = (LRESULT)(m.ResultInternal | (nint)(PInvoke.DLGC_WANTALLKEYS | PInvoke.DLGC_WANTTAB));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (3)
97(delegate* unmanaged[Stdcall]<int, WPARAM, LPARAM, LRESULT>)hook, 108private unsafe LRESULT MouseHookProc(int nCode, WPARAM wparam, LPARAM lparam) 126return (LRESULT)1;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (12)
3137m.ResultInternal = (LRESULT)1; 3147m.ResultInternal = (LRESULT)1; 3151m.ResultInternal = (LRESULT)0; 3280m.ResultInternal = (LRESULT)1; 3315m.ResultInternal = (LRESULT)0; 3333m.ResultInternal = (LRESULT)0; 3340m.ResultInternal = (LRESULT)0; 3350m.ResultInternal = (LRESULT)1; 3384LRESULT compMode = PInvokeCore.SendMessage(this, PInvokeCore.EM_GETIMECOMPMODE); 3486m.ResultInternal = (LRESULT)1; 3506m.ResultInternal = (LRESULT)(AcceptsTab ? m.ResultInternal | (nint)PInvoke.DLGC_WANTTAB : m.ResultInternal & ~(nint)PInvoke.DLGC_WANTTAB); 3518m.ResultInternal = (LRESULT)(65536 + 30);
System\Windows\Forms\Controls\TabControl\TabControl.cs (5)
1970m.ResultInternal = (LRESULT)1; 2086m.ResultInternal = (LRESULT)1; 2093m.ResultInternal = (LRESULT)1; 2106m.ResultInternal = (LRESULT)1; 2120m.ResultInternal = (LRESULT)1;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
2040? (LRESULT)(m.ResultInternal | (int)PInvoke.DLGC_WANTTAB) 2041: (LRESULT)(m.ResultInternal & ~(int)(PInvoke.DLGC_WANTTAB | PInvoke.DLGC_WANTALLKEYS));
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
593m.ResultInternal = (LRESULT)(nint)PInvoke.HTBOTTOMRIGHT; 629m.ResultInternal = (LRESULT)(nint)PInvoke.HTBOTTOMLEFT;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
4608m.ResultInternal = (LRESULT)(nint)PInvoke.MA_NOACTIVATE; 4622m.ResultInternal = (LRESULT)(nint)PInvoke.MA_ACTIVATEANDEAT; 4644m.ResultInternal = (LRESULT)(nint)PInvoke.MA_ACTIVATE;
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\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (1)
105m.ResultInternal = (LRESULT)PInvoke.HTTRANSPARENT;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
268m.ResultInternal = (LRESULT)0;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
798LRESULT lresult = PInvokeCore.SendMessage(this, PInvoke.TBM_SETTIC, lParam: (IntPtr)i);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
702LRESULT next = PInvokeCore.SendMessage( 860LRESULT prev = PInvokeCore.SendMessage(
System\Windows\Forms\Controls\TreeView\TreeView.cs (19)
2548private LRESULT TvnBeginLabelEdit(NMTVDISPINFOW nmtvdi) 2553return (LRESULT)IntPtr.Zero; 2572return (LRESULT)(e.CancelEdit ? 1 : 0); 2575private LRESULT TvnEndLabelEdit(NMTVDISPINFOW nmtvdi) 2582return (LRESULT)1; 2604return (LRESULT)(e.CancelEdit ? 0 : 1); 2700m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NOTIFYITEMDRAW; // yes, we do... 2712m.ResultInternal = (LRESULT)(nint)(PInvoke.CDRF_SKIPDEFAULT); 2725m.ResultInternal = (LRESULT)(nint)(PInvoke.CDRF_NEWFONT | PInvoke.CDRF_NOTIFYPOSTPAINT); 2759m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_SKIPDEFAULT; 2789m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NEWFONT; 2847m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_NOTIFYSUBITEMDRAW; 2855m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_DODEFAULT; 2989m.ResultInternal = (LRESULT)TvnExpanding(nmtv); 2995m.ResultInternal = (LRESULT)TvnSelecting(nmtv); 3054m.ResultInternal = (LRESULT)1; 3209m.ResultInternal = (LRESULT)1; 3214m.ResultInternal = (LRESULT)1; 3281m.ResultInternal = (LRESULT)0;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
452m.ResultInternal = (LRESULT)WebBrowserHelper.REGMSG_RETVAL;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.WebBrowserBaseNativeWindow.cs (1)
56m.ResultInternal = (LRESULT)0;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (2)
314LRESULT* plResult, 322LRESULT* plResult,
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (4)
206m.ResultInternal = (LRESULT)(nint)(PInvoke.CDRF_NOTIFYITEMDRAW | PInvoke.CDRF_NOTIFYPOSTPAINT); 236m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_SKIPDEFAULT; 241m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_SKIPDEFAULT; 244m.ResultInternal = (LRESULT)(nint)PInvoke.CDRF_DODEFAULT;
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (4)
54internal LRESULT HookProcInternal(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 55=> (LRESULT)HookProc(hWnd, (int)msg, (nint)wparam, lparam); 117private LRESULT OwnerWndProcInternal(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 118=> (LRESULT)OwnerWndProc(hWnd, (int)msg, (nint)wparam, lparam);
System\Windows\Forms\Form.cs (6)
4621m.ResultInternal = (LRESULT)1; 4625m.ResultInternal = (LRESULT)0; 6762m.ResultInternal = (LRESULT)(BOOL)!e.Cancel; 6931m.ResultInternal = (LRESULT)0; 7018m.ResultInternal = (LRESULT)(nint)(IsMirrored ? PInvoke.HTBOTTOMLEFT : PInvoke.HTBOTTOMRIGHT); 7033m.ResultInternal = (LRESULT)(nint)PInvoke.HTBORDER;
System\Windows\Forms\NativeWindow.cs (3)
340private LRESULT Callback(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam) 900m.ResultInternal = (LRESULT)0; 905m.ResultInternal = (LRESULT)0;
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 (2)
264private static unsafe LRESULT EmptyHookCallback(int nCode, WPARAM wparam, LPARAM lparam) => (LRESULT)0;
System\Windows\Forms\SendKeys\SendKeys.SendKeysHookProc.cs (2)
26public static unsafe LRESULT Callback(int nCode, WPARAM wparam, LPARAM lparam) 79return (LRESULT)0;
System\Windows\Forms\ToolTip\ToolTip.cs (5)
1528LRESULT result = default; 2015message.ResultInternal = (LRESULT)(nint)PInvoke.MA_NOACTIVATE; 2026message.ResultInternal = (LRESULT)(nint)GetWindowFromPoint(*lpPoint, ref result); 2151message.ResultInternal = (LRESULT)0; 2218message.ResultInternal = (LRESULT)0;
System\Windows\Forms\WindowSubclassHandler.cs (1)
262private LRESULT NativeWndProc(
System.Windows.Forms.Design (12)
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
194m.ResultInternal = (LRESULT)(m.ResultInternal | (int)PInvoke.DLGC_WANTALLKEYS);
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (2)
323? (LRESULT)PInvoke.HTTRANSPARENT 324: (LRESULT)(int)PInvoke.HTCLIENT;
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (3)
81(delegate* unmanaged[Stdcall]<int, WPARAM, LPARAM, LRESULT>)hook, 91private unsafe LRESULT MouseHookProc(int nCode, WPARAM wparam, LPARAM lparam) 101return (LRESULT)1;
System\Windows\Forms\Design\Behavior\BehaviorService.cs (3)
761m.ResultInternal = (LRESULT)((text.Length + 1) * sizeof(char)); 767m.ResultInternal = (LRESULT)(-1); 781m.ResultInternal = (LRESULT)((bytes.Length + nullBytes.Length) / sizeof(char));
System\Windows\Forms\Design\GroupBoxDesigner.cs (1)
115m.ResultInternal = (LRESULT)(nint)PInvoke.HTCLIENT;
System\Windows\Forms\Design\TabControlDesigner.cs (1)
607m.ResultInternal = (LRESULT)(nint)PInvoke.HTCLIENT;
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
282m.ResultInternal = (LRESULT)PInvoke.HTTRANSPARENT;
System.Windows.Forms.Primitives (64)
System\Windows\Forms\AccessibilityExtensions.cs (1)
12internal static LRESULT GetLRESULT(this IAccessible accessible, WPARAM wparam)
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)
24internal LRESULT ResultInternal; 79set => ResultInternal = (LRESULT)value; 108ResultInternal = (LRESULT)0
Windows.Win32.IOleInPlaceObjectWindowless.g.cs (8)
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) 229 fixed (winmdroot.Foundation.LRESULT* plResultLocal = &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.ISimpleFrameSite.g.cs (16)
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) 60 fixed (winmdroot.Foundation.LRESULT* plResultLocal = &plResult) 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) 107 fixed (winmdroot.Foundation.LRESULT* plResultLocal = &plResult) 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.PInvoke.OLEACC.dll.g.cs (3)
70 internal static unsafe winmdroot.Foundation.LRESULT LresultFromObject(in global::System.Guid riid, winmdroot.Foundation.WPARAM wParam, winmdroot.System.Com.IUnknown* punk) 74 winmdroot.Foundation.LRESULT __result = PInvoke.LresultFromObject(riidLocal, wParam, punk); 102 internal static extern unsafe winmdroot.Foundation.LRESULT LresultFromObject(global::System.Guid* riid, winmdroot.Foundation.WPARAM wParam, winmdroot.System.Com.IUnknown* punk);
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 (14)
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); 638 internal static unsafe winmdroot.Foundation.LRESULT DispatchMessage(in winmdroot.UI.WindowsAndMessaging.MSG lpMsg) 642 winmdroot.Foundation.LRESULT __result = PInvoke.DispatchMessage(lpMsgLocal); 661 internal static extern unsafe winmdroot.Foundation.LRESULT DispatchMessage(winmdroot.UI.WindowsAndMessaging.MSG* lpMsg); 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) 3009 winmdroot.Foundation.LRESULT __retVal = LocalExternFunction(hWnd, Msg, wParam, lParam, fuFlags, uTimeout, 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 (3)
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) 49 fixed (winmdroot.Foundation.LRESULT* plResultLocal = &plResult)
Windows.Win32.System_Ole_ISimpleFrameSite_Extensions.g.cs (6)
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) 28 fixed (winmdroot.Foundation.LRESULT* plResultLocal = &plResult) 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) 39 fixed (winmdroot.Foundation.LRESULT* plResultLocal = &plResult)
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.DispatchMessageA.cs (1)
12public static extern unsafe LRESULT DispatchMessageA(MSG* msg);
Windows\Win32\PInvoke.SendMessageCallback.cs (1)
26private static void NativeCallback(HWND hwnd, uint Msg, nuint dwData, LRESULT lResult)
Windows\Win32\PInvoke.UiaReturnRawElementProvider.cs (2)
11public static unsafe LRESULT UiaReturnRawElementProvider<T>( 19LRESULT result = UiaReturnRawElementProvider(hwnd.Handle, wParam, lParam, provider);
Windows\Win32\UI\Controls\ToolInfoWrapper.cs (2)
36public LRESULT SendMessage(IHandle<HWND> sender, MessageId message, bool state = false) 47LRESULT result = PInvokeCore.SendMessage(sender, message, (WPARAM)(BOOL)state, (LPARAM)i);
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 (3)
Win32\WindowClass.cs (3)
93lpfnWndProc = (delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM, LRESULT>)Marshal.GetFunctionPointerForDelegate(_windowProcedure), 217protected virtual LRESULT WNDPROC(HWND hWnd, uint msg, WPARAM wParam, LPARAM lParam) 227return (LRESULT)0;
System.Windows.Forms.Tests (5)
TextBoxBaseTests.cs (5)
2916LRESULT result = PInvokeCore.SendMessage( 3093LRESULT result = PInvokeCore.SendMessage( 4159LRESULT result = PInvokeCore.SendMessage( 6301LRESULT result = PInvokeCore.SendMessage( 6437LRESULT result = PInvokeCore.SendMessage(