20 references to LRESULT
System.Private.Windows.Core (20)
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\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\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);