Struct KeyboardLowLevelHookStruct
Contains information about a low-level keyboard input event.
Namespace: Dapplo.Windows.Input.Structs
Assembly: Dapplo.Windows.Input.dll
Syntax
public struct KeyboardLowLevelHookStruct
Fields
| Improve this Doc View SourcedwExtraInfo
Additional information associated with the message.
Declaration
public UIntPtr dwExtraInfo
Field Value
Type | Description |
---|---|
UIntPtr |
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.
Declaration
public ExtendedKeyFlags Flags
Field Value
Type | Description |
---|---|
ExtendedKeyFlags |
ScanCode
A hardware scan code for the key.
Declaration
public ScanCodes ScanCode
Field Value
Type | Description |
---|---|
ScanCodes |
TimeStamp
The time stamp for this message, equivalent to what GetMessageTime would return for this message.
Declaration
public uint TimeStamp
Field Value
Type | Description |
---|---|
System.UInt32 |
VirtualKeyCode
A virtual-key code. The code must be a value in the range 1 to 254.
Declaration
public VirtualKeyCodes VirtualKeyCode
Field Value
Type | Description |
---|---|
VirtualKeyCodes |