32 references to LRESULT
System.Windows.Forms.Primitives (32)
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\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\HOOKPROC.cs (1)
6internal delegate LRESULT HOOKPROC(int nCode, WPARAM wParam, LPARAM lParam);
Windows\Win32\PInvoke.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\PInvoke.DispatchMessageA.cs (1)
12public static extern unsafe LRESULT DispatchMessageA(MSG* msg);
Windows\Win32\PInvoke.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\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 = PInvoke.SendMessage(sender, message, (WPARAM)(BOOL)state, (LPARAM)i);
Windows\Win32\UI\WindowsAndMessaging\WNDPROC.cs (1)
6internal delegate LRESULT WNDPROC(HWND hWnd, MessageId msg, WPARAM wParam, LPARAM lParam);