2 instantiations of LRESULT
Microsoft.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);
33 references to LRESULT
Microsoft.Private.Windows.Core (33)
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 (4)
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);
138
internal static extern winmdroot.Foundation.
LRESULT
DefWindowProc(winmdroot.Foundation.HWND hWnd, uint Msg, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam);
894
internal static extern winmdroot.Foundation.
LRESULT
SendMessage(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);