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)
17
public 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)
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)
3195
m.ResultInternal = (
LRESULT
)REGMSG_RETVAL;
3213
(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)
6581
m.ResultInternal = (
LRESULT
)((value.Length + 1) * sizeof(char));
6587
m.ResultInternal = (
LRESULT
)(-1);
6602
m.ResultInternal = (
LRESULT
)((bytes.Length + nullBytes.Length) / sizeof(char));
11250
m.ResultInternal = (
LRESULT
)(nint)control.InitializeDCForWmCtlColor((HDC)(nint)m.WParamInternal, m.MsgInternal);
11282
m.ResultInternal = (
LRESULT
)0;
11291
m.ResultInternal = (
LRESULT
)1;
11731
m.ResultInternal = (
LRESULT
)(BOOL)e.Handled;
11971
m.ResultInternal = (
LRESULT
)1;
12365
m.ResultInternal = (
LRESULT
)0;
12526
m.ResultInternal = (
LRESULT
)0;
12531
m.ResultInternal = (
LRESULT
)0;
12555
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)
3454
m.ResultInternal = (
LRESULT
)1;
3595
m.ResultInternal = (
LRESULT
)1;
3617
m.ResultInternal = (
LRESULT
)1;
3689
m.ResultInternal = (
LRESULT
)s_darkEditBrush;
3707
m.ResultInternal = (
LRESULT
)s_darkEditBrush;
3716
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)
2155
m.ResultInternal = (
LRESULT
)(nint)PInvoke.DLGC_WANTARROWS;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (5)
4270
m.ResultInternal = (
LRESULT
)(nint)(BOOL)CanUndo;
4281
m.ResultInternal = (
LRESULT
)(nint)(BOOL)CanCut;
4293
m.ResultInternal = (
LRESULT
)(nint)(BOOL)CanCopy;
4305
m.ResultInternal = (
LRESULT
)(nint)(BOOL)CanPaste;
4319
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)
1970
m.ResultInternal = (
LRESULT
)1;
2086
m.ResultInternal = (
LRESULT
)1;
2093
m.ResultInternal = (
LRESULT
)1;
2106
m.ResultInternal = (
LRESULT
)1;
2120
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)
593
m.ResultInternal = (
LRESULT
)(nint)PInvoke.HTBOTTOMRIGHT;
629
m.ResultInternal = (
LRESULT
)(nint)PInvoke.HTBOTTOMLEFT;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
4608
m.ResultInternal = (
LRESULT
)(nint)PInvoke.MA_NOACTIVATE;
4622
m.ResultInternal = (
LRESULT
)(nint)PInvoke.MA_ACTIVATEANDEAT;
4644
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;
6762
m.ResultInternal = (
LRESULT
)(BOOL)!e.Cancel;
6931
m.ResultInternal = (
LRESULT
)0;
7018
m.ResultInternal = (
LRESULT
)(nint)(IsMirrored ? PInvoke.HTBOTTOMLEFT : PInvoke.HTBOTTOMRIGHT);
7033
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;
2015
message.ResultInternal = (
LRESULT
)(nint)PInvoke.MA_NOACTIVATE;
2026
message.ResultInternal = (
LRESULT
)(nint)GetWindowFromPoint(*lpPoint, ref result);
2151
message.ResultInternal = (
LRESULT
)0;
2218
message.ResultInternal = (
LRESULT
)0;
System\Windows\Forms\WindowSubclassHandler.cs (1)
262
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)
607
m.ResultInternal = (
LRESULT
)(nint)PInvoke.HTCLIENT;
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
282
m.ResultInternal = (
LRESULT
)PInvoke.HTTRANSPARENT;
System.Windows.Forms.Primitives (64)
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.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)
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);
System.Windows.Forms.Primitives.Tests (1)
Interop\User32\GetWindowTextTests.cs (1)
57
protected override
LRESULT
WNDPROC(HWND hWnd, uint msg, WPARAM wParam, LPARAM lParam)
System.Windows.Forms.Primitives.TestUtilities (3)
Win32\WindowClass.cs (3)
93
lpfnWndProc = (delegate* unmanaged[Stdcall]<HWND, uint, WPARAM, LPARAM,
LRESULT
>)Marshal.GetFunctionPointerForDelegate(_windowProcedure),
217
protected virtual
LRESULT
WNDPROC(HWND hWnd, uint msg, WPARAM wParam, LPARAM lParam)
227
return (
LRESULT
)0;
System.Windows.Forms.Tests (5)
TextBoxBaseTests.cs (5)
2916
LRESULT
result = PInvokeCore.SendMessage(
3093
LRESULT
result = PInvokeCore.SendMessage(
4159
LRESULT
result = PInvokeCore.SendMessage(
6301
LRESULT
result = PInvokeCore.SendMessage(
6437
LRESULT
result = PInvokeCore.SendMessage(