@Structure.FieldOrder(value={"wVk","wScan","dwFlags","time","dwExtraInfo"}) public static class WinUser.KEYBDINPUT extends Structure
Modifier and Type | Class and Description |
---|---|
static class |
WinUser.KEYBDINPUT.ByReference |
Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field and Description |
---|---|
BaseTSD.ULONG_PTR |
dwExtraInfo
An additional value associated with the keystroke.
|
WinDef.DWORD |
dwFlags
Specifies various aspects of a keystroke.
|
static int |
KEYEVENTF_EXTENDEDKEY
If specified, the scan code was preceded by a prefix byte that has
the value 0xE0 (224).
|
static int |
KEYEVENTF_KEYUP
If specified, the key is being released.
|
static int |
KEYEVENTF_SCANCODE
If specified, wScan identifies the key and wVk is ignored.
|
static int |
KEYEVENTF_UNICODE
If specified, the system synthesizes a VK_PACKET keystroke.
|
WinDef.DWORD |
time
The time stamp for the event, in milliseconds.
|
WinDef.WORD |
wScan
A hardware scan code for the key.
|
WinDef.WORD |
wVk
A virtual-key code.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
KEYBDINPUT() |
KEYBDINPUT(Pointer memory) |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public static final int KEYEVENTF_EXTENDEDKEY
public static final int KEYEVENTF_KEYUP
public static final int KEYEVENTF_UNICODE
public static final int KEYEVENTF_SCANCODE
public WinDef.WORD wVk
public WinDef.WORD wScan
public WinDef.DWORD dwFlags
public WinDef.DWORD time
public BaseTSD.ULONG_PTR dwExtraInfo
public KEYBDINPUT()
public KEYBDINPUT(Pointer memory)