Struct GlobalKeyboardHook.LowLevelKeyboardInputEvent
- Namespace
- VisioForge.Core.UI.WinForms.Dialogs
- Assembly
- VisioForge.Core.dll
Represents low-level keyboard input event data from the Windows KBDLLHOOKSTRUCT structure. Contains detailed information about a keyboard event captured by the low-level keyboard hook.
public struct GlobalKeyboardHook.LowLevelKeyboardInputEventInherited Members
Remarks
This structure corresponds to the Windows KBDLLHOOKSTRUCT and provides access to:
- Virtual key code and hardware scan code
- Event flags and timing information
- Additional context data from the system The layout is sequential to match the native Windows structure.
Fields
AdditionalInformation
Additional information associated with the message.
public nint AdditionalInformationField Value
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 FlagsField Value
HardwareScanCode
A hardware scan code for the key.
public int HardwareScanCodeField Value
TimeStamp
The time stamp stamp for this message, equivalent to what GetMessageTime would return for this message.
public int TimeStampField Value
VirtualCode
A virtual-key code. The code must be a value in the range 1 to 254.
public int VirtualCodeField Value
Properties
Key
Gets the virtual key code converted to the .NET Keys enumeration for easier handling. Provides a more convenient way to work with key codes than the raw VirtualCode integer.
public Keys Key { get; }