Managed Windows API
InjectKeyboardEvent Method (key, scanCode, flags, extraInfo)
Namespaces
►
ManagedWinapi
►
KeyboardKey
►
InjectKeyboardEvent(Keys, Byte, UInt32, UIntPtr)
C#
Inject a keyboard event into the event loop, as if the user performed it with his keyboard.
Declaration Syntax
C#
public
static
void
InjectKeyboardEvent
(
Keys
key
,
byte
scanCode
,
uint
flags
,
UIntPtr
extraInfo
)
Parameters
key
(
Keys
)
scanCode
(
Byte
)
flags
(
UInt32
)
extraInfo
(
UIntPtr
)
Assembly:
ManagedWinapi
(Module: ManagedWinapi) Version: 0.3.0.0 (0.3)