43 references to LPARAM
System.Private.Windows.Core (40)
Windows\Win32\Foundation\LPARAM.cs (17)
10
public static unsafe implicit operator void*(
LPARAM
value) => (void*)value.Value;
11
public static unsafe implicit operator
LPARAM
(void* value) => new((nint)value);
13
public static explicit operator
LPARAM
(BOOL value) => new((nint)value);
15
public static implicit operator
LPARAM
(int value) => new(value);
17
public static explicit operator int(
LPARAM
value) => (int)value.Value;
18
public static explicit operator uint(
LPARAM
value) => (uint)(int)value.Value;
19
public static explicit operator nuint(
LPARAM
value) => (nuint)value.Value;
20
public static explicit operator
LPARAM
(uint value) => new((nint)(nuint)value);
22
public static explicit operator HWND(
LPARAM
value) => (HWND)value.Value;
24
public static explicit operator
LPARAM
(HWND value) => (
LPARAM
)value.Value;
26
public static explicit operator
LPARAM
(Color value) => (
LPARAM
)ColorTranslator.ToWin32(value);
27
public static explicit operator Point(
LPARAM
value) => new(value.SIGNEDLOWORD, value.SIGNEDHIWORD);
28
public static explicit operator
LPARAM
(Point value) => MAKELPARAM(value.X, value.Y);
41
public static
LPARAM
MAKELPARAM(int low, int high) => (
LPARAM
)(uint)((int)(((ushort)(((nuint)low) & 0xffff))
Windows\Win32\PInvoke.CallWindowProc.cs (2)
8
internal static unsafe LRESULT CallWindowProc<T>(void* lpPrevWndFunc, T hWnd, uint Msg, WPARAM wParam,
LPARAM
lParam)
12
(delegate* unmanaged[Stdcall]<HWND, uint, WPARAM,
LPARAM
, LRESULT>)lpPrevWndFunc,
Windows\Win32\PInvokeCore.EnumChildWindows.cs (2)
22
return EnumChildWindows(hwndParent.Handle, &EnumChildWindowsNativeCallback, (
LPARAM
)(nint)gcHandle);
32
private static BOOL EnumChildWindowsNativeCallback(HWND hWnd,
LPARAM
lParam)
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (2)
18
return EnumDisplayMonitors(default, (RECT*)null, &EnumDisplayMonitorsNativeCallback, (
LPARAM
)(nint)gcHandle);
27
private static BOOL EnumDisplayMonitorsNativeCallback(HMONITOR monitor, HDC hdc, RECT* lprcMonitor,
LPARAM
lParam)
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (2)
24
return EnumThreadWindows(GetCurrentThreadId(), &HandleEnumThreadWindowsNativeCallback, (
LPARAM
)(nint)gcHandle);
33
private static BOOL HandleEnumThreadWindowsNativeCallback(HWND hWnd,
LPARAM
lParam)
Windows\Win32\PInvokeCore.EnumWindows.cs (2)
21
return EnumWindows(&EnumWindowsNativeCallback, (
LPARAM
)(nint)gcHandle);
30
private static BOOL EnumWindowsNativeCallback(HWND hWnd,
LPARAM
lParam)
Windows\Win32\PInvokeCore.PostMessage.cs (2)
8
/// <inheritdoc cref="PostMessage(HWND, uint, WPARAM,
LPARAM
)"/>
13
LPARAM
lParam = default)
Windows\Win32\PInvokeCore.SendMessage.cs (10)
8
/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM,
LPARAM
)"/>
13
LPARAM
lParam = default) where T : IHandle<HWND>
20
/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM,
LPARAM
)"/>
25
LPARAM
lParam = default) where THwnd : IHandle<HWND> where TWParam : IHandle<HWND>
32
/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM,
LPARAM
)"/>
41
return SendMessage(hWnd, Msg, wParam, (
LPARAM
)c);
45
/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM,
LPARAM
)"/>
56
return SendMessage(hWnd, Msg, wParam, (
LPARAM
)l);
60
/// <inheritdoc cref="SendMessage(HWND, uint, WPARAM,
LPARAM
)"/>
72
return SendMessage(hWnd, Msg, (WPARAM)(nuint)w, (
LPARAM
)(nint)l);
Windows\Win32\UI\WindowsAndMessaging\WNDPROC.cs (1)
6
internal delegate LRESULT WNDPROC(HWND hWnd, uint msg, WPARAM wParam,
LPARAM
lParam);
System.Windows.Forms.Primitives (3)
Microsoft\Office\IMsoComponent.cs (1)
145
/// <inheritdoc cref="Interface.FDebugMessage(nint, uint, WPARAM,
LPARAM
)"/>
Microsoft\Office\IMsoComponentManager.cs (1)
65
/// <inheritdoc cref="Interface.FDebugMessage(nint, uint, WPARAM,
LPARAM
)"/>
Windows\Win32\PInvoke.UiaReturnRawElementProvider.cs (1)
10
/// <inheritdoc cref="UiaReturnRawElementProvider(HWND, WPARAM,
LPARAM
, IRawElementProviderSimple*)"/>