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