2 instantiations of LRESULT
System.Private.Windows.Core (2)
_generated\170\Windows.Win32.LRESULT.g.cs (1)
33
public static explicit operator LRESULT(nint value) => new
LRESULT
(value);
Windows\Win32\Foundation\LRESULT.cs (1)
17
public static explicit operator LRESULT(BOOL value) =>
new
((nint)value);
273 references to LRESULT
System.Private.Windows.Core (35)
_generated\170\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);
_generated\201\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)
8
public static explicit operator int(
LRESULT
value) => (int)value.Value;
9
public static explicit operator uint(
LRESULT
value) => (uint)value.Value;
10
public static explicit operator nuint(
LRESULT
value) => (nuint)value.Value;
11
public static explicit operator char(
LRESULT
value) => (char)value.Value;
12
public static explicit operator HWND(
LRESULT
value) => (HWND)value.Value;
13
public static explicit operator HFONT(
LRESULT
value) => (HFONT)value.Value;
14
public static explicit operator HICON(
LRESULT
value) => (HICON)value.Value;
16
public static explicit operator BOOL(
LRESULT
value) => (BOOL)value.Value;
17
public static explicit operator
LRESULT
(BOOL value) => new((nint)value);
29
public static
LRESULT
MAKELONG(int low, int high) => (
LRESULT
)((int)(((ushort)(((nuint)low) & 0xffff))
Windows\Win32\PInvokeCore.CallWindowProc.cs (3)
8
internal static unsafe
LRESULT
CallWindowProc<T>(void* lpPrevWndFunc, T hWnd, uint Msg, WPARAM wParam, LPARAM lParam)
11
LRESULT
result = CallWindowProc(
12
(delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM,
LRESULT
>)lpPrevWndFunc,
Windows\Win32\PInvokeCore.SendMessage.cs (5)
9
public static
LRESULT
SendMessage<T>(
15
LRESULT
result = SendMessage(hWnd.Handle, (uint)Msg, wParam, lParam);
21
public static
LRESULT
SendMessage<THwnd, TWParam>(
27
LRESULT
result = SendMessage(hWnd.Handle, (uint)Msg, (WPARAM)wParam.Handle, lParam);
33
public static unsafe
LRESULT
SendMessage<T>(
Windows\Win32\UI\WindowsAndMessaging\WNDPROC.cs (1)
6
internal delegate
LRESULT
WNDPROC(HWND hWnd, uint msg, WPARAM wParam, LPARAM lParam);
System.Windows.Forms (162)
System\Windows\Forms\ActiveX\AxHost.cs (2)
3192
m.ResultInternal = (
LRESULT
)REGMSG_RETVAL;
3210
(delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM,
LRESULT
>)wndProc,
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (2)
106
LRESULT
* plResult,
114
LRESULT
* plResult,
System\Windows\Forms\Control.cs (12)
6576
m.ResultInternal = (
LRESULT
)((value.Length + 1) * sizeof(char));
6582
m.ResultInternal = (
LRESULT
)(-1);
6597
m.ResultInternal = (
LRESULT
)((bytes.Length + nullBytes.Length) / sizeof(char));
11247
m.ResultInternal = (
LRESULT
)(nint)control.InitializeDCForWmCtlColor((HDC)(nint)m.WParamInternal, m.MsgInternal);
11279
m.ResultInternal = (
LRESULT
)0;
11288
m.ResultInternal = (
LRESULT
)1;
11732
m.ResultInternal = (
LRESULT
)(BOOL)e.Handled;
11972
m.ResultInternal = (
LRESULT
)1;
12366
m.ResultInternal = (
LRESULT
)0;
12527
m.ResultInternal = (
LRESULT
)0;
12532
m.ResultInternal = (
LRESULT
)0;
12556
m.ResultInternal = (
LRESULT
)(nint)PInvoke.NFR_UNICODE;
System\Windows\Forms\Control.Ime.cs (1)
545
m.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (6)
3441
m.ResultInternal = (
LRESULT
)1;
3582
m.ResultInternal = (
LRESULT
)1;
3604
m.ResultInternal = (
LRESULT
)1;
3676
m.ResultInternal = (
LRESULT
)s_darkEditBrush;
3694
m.ResultInternal = (
LRESULT
)s_darkEditBrush;
3703
m.ResultInternal = (
LRESULT
)(nint)InitializeDCForWmCtlColor((HDC)(nint)m.WParamInternal, m.MsgInternal);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
30015
m.ResultInternal = (
LRESULT
)(m.ResultInternal | (nint)PInvoke.DLGC_WANTARROWS | (nint)PInvoke.DLGC_WANTCHARS);
30020
m.ResultInternal = (
LRESULT
)(m.ResultInternal | (nint)PInvoke.DLGC_WANTTAB);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
677
m.ResultInternal = (
LRESULT
)1;
703
m.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\Controls\Labels\Label.cs (1)
1435
m.ResultInternal = (
LRESULT
)(nint)(rectInScreen.Contains(pt) ? PInvoke.HTCLIENT : PInvoke.HTNOWHERE);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (6)
925
m.ResultInternal = (
LRESULT
)(-1);
938
m.ResultInternal = (
LRESULT
)(-1);
949
m.ResultInternal = (
LRESULT
)PInvoke.LB_ERR;
953
m.ResultInternal = (
LRESULT
)(GetItemChecked(item) ? LB_CHECKED : LB_UNCHECKED);
962
m.ResultInternal = (
LRESULT
)0;
967
m.ResultInternal = (
LRESULT
)1;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
2369
m.ResultInternal = (
LRESULT
)1;
2389
m.ResultInternal = (
LRESULT
)1;
System\Windows\Forms\Controls\ListView\ListView.cs (27)
2599
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NOTIFYITEMDRAW;
2604
m.ResultInternal = (
LRESULT
)(nint)(PInvoke.CDRF_NOTIFYSUBITEMDRAW | PInvoke.CDRF_NEWFONT);
2621
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NEWFONT;
2664
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NOTIFYSUBITEMDRAW;
2670
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_SKIPDEFAULT;
2682
m.ResultInternal = (
LRESULT
)(nint)(PInvoke.CDRF_NOTIFYSUBITEMDRAW | PInvoke.CDRF_NEWFONT);
2757
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_SKIPDEFAULT;
2767
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NEWFONT;
2918
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NEWFONT;
2929
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_DODEFAULT;
2936
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_DODEFAULT;
6016
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NOTIFYITEMDRAW;
6025
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_DODEFAULT;
6051
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NOTIFYITEMDRAW;
6073
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_DODEFAULT;
6078
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_SKIPDEFAULT;
6090
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_DODEFAULT;
6132
m.ResultInternal = (
LRESULT
)(colWidthChanging.Cancel ? 1 : 0);
6215
m.ResultInternal = (
LRESULT
)1;
6266
m.ResultInternal = (
LRESULT
)1;
6348
m.ResultInternal = (
LRESULT
)1;
6491
m.ResultInternal = (
LRESULT
)(nint)(BOOL)cancelEdit;
6543
m.ResultInternal = (
LRESULT
)(nint)(BOOL)!e.CancelEdit;
6603
m.ResultInternal = (
LRESULT
)(nint)(BOOL)(e.NewValue == oldState);
6901
m.ResultInternal = (
LRESULT
)(-1);
6946
m.ResultInternal = sviEvent.Index != -1 ? (
LRESULT
)sviEvent.Index : (
LRESULT
)(-1);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
2177
m.ResultInternal = (
LRESULT
)(nint)PInvoke.DLGC_WANTARROWS;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (5)
4260
m.ResultInternal = (
LRESULT
)(nint)(BOOL)CanUndo;
4271
m.ResultInternal = (
LRESULT
)(nint)(BOOL)CanCut;
4283
m.ResultInternal = (
LRESULT
)(nint)(BOOL)CanCopy;
4295
m.ResultInternal = (
LRESULT
)(nint)(BOOL)CanPaste;
4309
m.ResultInternal = (
LRESULT
)1;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
182
msg.ResultInternal = (
LRESULT
)PInvoke.HTTRANSPARENT;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
5316
m.ResultInternal = (
LRESULT
)1;
5373
m.ResultInternal = (
LRESULT
)(nint)flags;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
689
m.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (3)
300
m.ResultInternal = (
LRESULT
)1;
356
m.ResultInternal = (
LRESULT
)(m.ResultInternal | (nint)(PInvoke.DLGC_WANTARROWS | PInvoke.DLGC_WANTCHARS));
359
m.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,
108
private unsafe
LRESULT
MouseHookProc(int nCode, WPARAM wparam, LPARAM lparam)
126
return (
LRESULT
)1;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (12)
3137
m.ResultInternal = (
LRESULT
)1;
3147
m.ResultInternal = (
LRESULT
)1;
3151
m.ResultInternal = (
LRESULT
)0;
3280
m.ResultInternal = (
LRESULT
)1;
3315
m.ResultInternal = (
LRESULT
)0;
3333
m.ResultInternal = (
LRESULT
)0;
3340
m.ResultInternal = (
LRESULT
)0;
3350
m.ResultInternal = (
LRESULT
)1;
3384
LRESULT
compMode = PInvokeCore.SendMessage(this, PInvokeCore.EM_GETIMECOMPMODE);
3486
m.ResultInternal = (
LRESULT
)1;
3506
m.ResultInternal = (
LRESULT
)(AcceptsTab ? m.ResultInternal | (nint)PInvoke.DLGC_WANTTAB : m.ResultInternal & ~(nint)PInvoke.DLGC_WANTTAB);
3518
m.ResultInternal = (
LRESULT
)(65536 + 30);
System\Windows\Forms\Controls\TabControl\TabControl.cs (5)
1967
m.ResultInternal = (
LRESULT
)1;
2083
m.ResultInternal = (
LRESULT
)1;
2090
m.ResultInternal = (
LRESULT
)1;
2103
m.ResultInternal = (
LRESULT
)1;
2117
m.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)
601
m.ResultInternal = (
LRESULT
)(nint)PInvoke.HTBOTTOMRIGHT;
637
m.ResultInternal = (
LRESULT
)(nint)PInvoke.HTBOTTOMLEFT;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
4627
m.ResultInternal = (
LRESULT
)(nint)PInvoke.MA_NOACTIVATE;
4641
m.ResultInternal = (
LRESULT
)(nint)PInvoke.MA_ACTIVATEANDEAT;
4663
m.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,
81
private unsafe
LRESULT
MessageHookProc(int nCode, WPARAM wparam, LPARAM lparam)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (1)
105
m.ResultInternal = (
LRESULT
)PInvoke.HTTRANSPARENT;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
268
m.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
798
LRESULT
lresult = PInvokeCore.SendMessage(this, PInvoke.TBM_SETTIC, lParam: (IntPtr)i);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
702
LRESULT
next = PInvokeCore.SendMessage(
860
LRESULT
prev = PInvokeCore.SendMessage(
System\Windows\Forms\Controls\TreeView\TreeView.cs (19)
2548
private
LRESULT
TvnBeginLabelEdit(NMTVDISPINFOW nmtvdi)
2553
return (
LRESULT
)IntPtr.Zero;
2572
return (
LRESULT
)(e.CancelEdit ? 1 : 0);
2575
private
LRESULT
TvnEndLabelEdit(NMTVDISPINFOW nmtvdi)
2582
return (
LRESULT
)1;
2604
return (
LRESULT
)(e.CancelEdit ? 0 : 1);
2700
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NOTIFYITEMDRAW; // yes, we do...
2712
m.ResultInternal = (
LRESULT
)(nint)(PInvoke.CDRF_SKIPDEFAULT);
2725
m.ResultInternal = (
LRESULT
)(nint)(PInvoke.CDRF_NEWFONT | PInvoke.CDRF_NOTIFYPOSTPAINT);
2759
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_SKIPDEFAULT;
2789
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NEWFONT;
2847
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_NOTIFYSUBITEMDRAW;
2855
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_DODEFAULT;
2989
m.ResultInternal = (
LRESULT
)TvnExpanding(nmtv);
2995
m.ResultInternal = (
LRESULT
)TvnSelecting(nmtv);
3054
m.ResultInternal = (
LRESULT
)1;
3209
m.ResultInternal = (
LRESULT
)1;
3214
m.ResultInternal = (
LRESULT
)1;
3281
m.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
452
m.ResultInternal = (
LRESULT
)WebBrowserHelper.REGMSG_RETVAL;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.WebBrowserBaseNativeWindow.cs (1)
56
m.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (2)
314
LRESULT
* plResult,
322
LRESULT
* plResult,
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (4)
206
m.ResultInternal = (
LRESULT
)(nint)(PInvoke.CDRF_NOTIFYITEMDRAW | PInvoke.CDRF_NOTIFYPOSTPAINT);
236
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_SKIPDEFAULT;
241
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_SKIPDEFAULT;
244
m.ResultInternal = (
LRESULT
)(nint)PInvoke.CDRF_DODEFAULT;
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (4)
54
internal
LRESULT
HookProcInternal(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam)
55
=> (
LRESULT
)HookProc(hWnd, (int)msg, (nint)wparam, lparam);
117
private
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)
4621
m.ResultInternal = (
LRESULT
)1;
4625
m.ResultInternal = (
LRESULT
)0;
6761
m.ResultInternal = (
LRESULT
)(BOOL)!e.Cancel;
6930
m.ResultInternal = (
LRESULT
)0;
7017
m.ResultInternal = (
LRESULT
)(nint)(IsMirrored ? PInvoke.HTBOTTOMLEFT : PInvoke.HTBOTTOMRIGHT);
7032
m.ResultInternal = (
LRESULT
)(nint)PInvoke.HTBORDER;
System\Windows\Forms\NativeWindow.cs (3)
340
private
LRESULT
Callback(HWND hWnd, uint msg, WPARAM wparam, LPARAM lparam)
900
m.ResultInternal = (
LRESULT
)0;
905
m.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\NativeWindow.WindowClass.cs (2)
42
public
LRESULT
Callback(HWND hwnd, uint msg, WPARAM wparam, LPARAM lparam)
158
windowClass.lpfnWndProc = (delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM,
LRESULT
>)callback;
System\Windows\Forms\SendKeys\SendKeys.cs (2)
264
private static unsafe
LRESULT
EmptyHookCallback(int nCode, WPARAM wparam, LPARAM lparam) => (
LRESULT
)0;
System\Windows\Forms\SendKeys\SendKeys.SendKeysHookProc.cs (2)
26
public static unsafe
LRESULT
Callback(int nCode, WPARAM wparam, LPARAM lparam)
79
return (
LRESULT
)0;
System\Windows\Forms\ToolTip\ToolTip.cs (5)
1528
LRESULT
result = default;
2009
message.ResultInternal = (
LRESULT
)(nint)PInvoke.MA_NOACTIVATE;
2020
message.ResultInternal = (
LRESULT
)(nint)GetWindowFromPoint(*lpPoint, ref result);
2145
message.ResultInternal = (
LRESULT
)0;
2212
message.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\WindowSubclassHandler.cs (1)
265
private
LRESULT
NativeWndProc(
System.Windows.Forms.Design (12)
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
194
m.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,
91
private unsafe
LRESULT
MouseHookProc(int nCode, WPARAM wparam, LPARAM lparam)
101
return (
LRESULT
)1;
System\Windows\Forms\Design\Behavior\BehaviorService.cs (3)
761
m.ResultInternal = (
LRESULT
)((text.Length + 1) * sizeof(char));
767
m.ResultInternal = (
LRESULT
)(-1);
781
m.ResultInternal = (
LRESULT
)((bytes.Length + nullBytes.Length) / sizeof(char));
System\Windows\Forms\Design\GroupBoxDesigner.cs (1)
115
m.ResultInternal = (
LRESULT
)(nint)PInvoke.HTCLIENT;
System\Windows\Forms\Design\TabControlDesigner.cs (1)
595
m.ResultInternal = (
LRESULT
)(nint)PInvoke.HTCLIENT;
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
282
m.ResultInternal = (
LRESULT
)PInvoke.HTTRANSPARENT;
System.Windows.Forms.Primitives (64)
_generated\207\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);
_generated\245\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);
_generated\419\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);
_generated\424\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);
_generated\425\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);
2895
internal static extern winmdroot.Foundation.
LRESULT
SendDlgItemMessage(winmdroot.Foundation.HWND hDlg, int nIDDlgItem, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam);
2975
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)
2983
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);
3021
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)
3024
winmdroot.Foundation.
LRESULT
__retVal = LocalExternFunction(hWnd, Msg, wParam, lParam, fuFlags, uTimeout, lpdwResult);
3029
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);
3593
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)
3601
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);
_generated\502\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)
_generated\517\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)
_generated\650\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;
System\Windows\Forms\AccessibilityExtensions.cs (1)
12
internal static
LRESULT
GetLRESULT(this IAccessible accessible, WPARAM wparam)
System\Windows\Forms\Internals\MessageDecoder.cs (1)
19
private static string ToString(HWND hwnd, MessageId messageId, WPARAM wparam, LPARAM lparam,
LRESULT
result)
System\Windows\Forms\Message.cs (3)
24
internal
LRESULT
ResultInternal;
79
set => ResultInternal = (
LRESULT
)value;
108
ResultInternal = (
LRESULT
)0
Windows\Win32\HOOKPROC.cs (1)
6
internal delegate
LRESULT
HOOKPROC(int nCode, WPARAM wParam, LPARAM lParam);
Windows\Win32\PInvoke.DispatchMessageA.cs (1)
12
public static extern unsafe
LRESULT
DispatchMessageA(MSG* msg);
Windows\Win32\PInvoke.SendMessageCallback.cs (1)
26
private static void NativeCallback(HWND hwnd, uint Msg, nuint dwData,
LRESULT
lResult)
Windows\Win32\PInvoke.UiaReturnRawElementProvider.cs (2)
11
public static unsafe
LRESULT
UiaReturnRawElementProvider<T>(
19
LRESULT
result = UiaReturnRawElementProvider(hwnd.Handle, wParam, lParam, provider);
Windows\Win32\UI\Controls\ToolInfoWrapper.cs (2)
36
public
LRESULT
SendMessage(IHandle<HWND> sender, MessageId message, bool state = false)
47
LRESULT
result = PInvokeCore.SendMessage(sender, message, (WPARAM)(BOOL)state, (LPARAM)i);