7 instantiations of INPUT
System.Windows.Forms.UI.IntegrationTests (7)
Input\InputBuilder.cs (7)
12
return new
INPUT
39
INPUT input =
new
()
75
return new
INPUT
97
return new
INPUT
119
return new
INPUT
136
return new
INPUT
153
return new
INPUT
56 references to INPUT
System.Windows.Forms (6)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
126
INPUT
mouseInput = default;
System\Windows\Forms\SendKeys\SendKeys.cs (5)
636
Span<
INPUT
> currentInput = stackalloc
INPUT
[2];
653
int INPUTSize = sizeof(
INPUT
);
859
Span<
INPUT
> keyboardInput = stackalloc
INPUT
[2];
System.Windows.Forms.Primitives (9)
System\Windows\Forms\Automation\UiaTextProvider.cs (4)
121
public static int SendInput(ref
INPUT
input)
123
fixed (
INPUT
* i = &input)
125
return (int)PInvoke.SendInput(1, i, sizeof(
INPUT
));
131
INPUT
keyboardInput = default;
Windows.Win32.PInvoke.USER32.dll.g.cs (5)
2882
/// <inheritdoc cref="SendInput(uint, winmdroot.UI.Input.KeyboardAndMouse.
INPUT
*, int)"/>
2884
internal static unsafe uint SendInput(ReadOnlySpan<winmdroot.UI.Input.KeyboardAndMouse.
INPUT
> pInputs, int cbSize)
2886
fixed (winmdroot.UI.Input.KeyboardAndMouse.
INPUT
* pInputsLocal = pInputs)
2914
internal static unsafe uint SendInput(uint cInputs, winmdroot.UI.Input.KeyboardAndMouse.
INPUT
* pInputs, int cbSize)
2922
static extern unsafe uint LocalExternFunction(uint cInputs, winmdroot.UI.Input.KeyboardAndMouse.
INPUT
* pInputs, int cbSize);
System.Windows.Forms.Primitives.Tests (1)
System\Windows\Forms\Automation\UiaTextProviderTests.cs (1)
100
INPUT
keyboardInput = default;
System.Windows.Forms.UI.IntegrationTests (40)
Input\InputBuilder.cs (12)
10
public static
INPUT
KeyDown(VIRTUAL_KEY keyCode)
29
public static
INPUT
KeyUp(VIRTUAL_KEY keyCode)
31
var
input = KeyDown(keyCode);
36
public static
INPUT
CharacterDown(char character)
39
INPUT
input = new()
66
public static
INPUT
CharacterUp(char character)
68
var
input = CharacterDown(character);
73
public static
INPUT
MouseButtonDown(MouseButtons button)
95
public static
INPUT
MouseButtonUp(MouseButtons button)
117
public static
INPUT
RelativeMouseMovement(int x, int y)
134
public static
INPUT
AbsoluteMouseMovement(int x, int y)
151
public static
INPUT
AbsoluteMouseMovementOnVirtualDesktop(int x, int y)
Input\KeyboardSimulator.cs (14)
22
Span<
INPUT
> inputs =
27
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
33
Span<
INPUT
> inputs =
38
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
44
Span<
INPUT
> inputs =
50
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
56
Span<
INPUT
> inputs =
62
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
73
Span<
INPUT
> inputs = stackalloc
INPUT
[text.Length * 2];
80
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
98
Span<
INPUT
> inputs = stackalloc
INPUT
[modifierArray.Length * 2 + keyArray.Length * 2];
111
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
Input\MouseSimulator.cs (14)
83
Span<
INPUT
> inputs =
88
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
94
Span<
INPUT
> inputs =
99
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
105
Span<
INPUT
> inputs =
111
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
117
Span<
INPUT
> inputs =
125
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
140
Span<
INPUT
> inputs =
145
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
151
Span<
INPUT
> inputs =
156
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());
162
Span<
INPUT
> inputs =
167
PInvoke.SendInput(inputs, Marshal.SizeOf<
INPUT
>());