Table of Contents

Struct LowLevelKeyboardInputEvent

Namespace
SunamoPInvoke.Structs
Assembly
SunamoPInvoke.dll

Contains the data associated with a low-level keyboard input event.

public struct LowLevelKeyboardInputEvent
Inherited Members
Extension Methods

Fields

AdditionalInformation

Additional information associated with the message.

public nint AdditionalInformation

Field Value

nint

Flags

The extended-key flag, event-injected Flags, context code, and transition-state flag. This member is specified as follows. An application can use the following values to test the keystroke Flags. Testing LLKHF_INJECTED (bit 4) will tell you whether the event was injected. If it was, then testing LLKHF_LOWER_IL_INJECTED (bit 1) will tell you whether or not the event was injected from a process running at lower integrity level.

public int Flags

Field Value

int

HardwareScanCode

A hardware scan code for the key.

public int HardwareScanCode

Field Value

int

TimeStamp

The time stamp stamp for this message, equivalent to what GetMessageTime would return for this message.

public int TimeStamp

Field Value

int

VirtualCode

A virtual-key code. The code must be a value in the range 1 to 254.

public int VirtualCode

Field Value

int