Package com.sun.jna.platform.win32
Klasse WinUser.KEYBDINPUT
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinUser.KEYBDINPUT
- Bekannte direkte Unterklassen:
WinUser.KEYBDINPUT.ByReference
- Umschließende Schnittstelle:
WinUser
@FieldOrder({"wVk","wScan","dwFlags","time","dwExtraInfo"})
public static class WinUser.KEYBDINPUT
extends Structure
Contains information about a simulated keyboard event.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.Structure
Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungAn additional value associated with the keystroke.Specifies various aspects of a keystroke.static final int
If specified, the scan code was preceded by a prefix byte that has the value 0xE0 (224).static final int
If specified, the key is being released.static final int
If specified, wScan identifies the key and wVk is ignored.static final int
If specified, the system synthesizes a VK_PACKET keystroke.The time stamp for the event, in milliseconds.A hardware scan code for the key.A virtual-key code.Von Klasse geerbte Felder com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden com.sun.jna.Structure
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
-
Felddetails
-
KEYEVENTF_EXTENDEDKEY
public static final int KEYEVENTF_EXTENDEDKEYIf specified, the scan code was preceded by a prefix byte that has the value 0xE0 (224).- Siehe auch:
-
KEYEVENTF_KEYUP
public static final int KEYEVENTF_KEYUPIf specified, the key is being released. If not specified, the key is being pressed.- Siehe auch:
-
KEYEVENTF_UNICODE
public static final int KEYEVENTF_UNICODEIf specified, the system synthesizes a VK_PACKET keystroke. The wVk parameter must be zero. This flag can only be combined with the KEYEVENTF_KEYUP flag. For more information, see the Remarks section.- Siehe auch:
-
KEYEVENTF_SCANCODE
public static final int KEYEVENTF_SCANCODEIf specified, wScan identifies the key and wVk is ignored.- Siehe auch:
-
wVk
A virtual-key code. The code must be a value in the range 1 to 254. If the dwFlags member specifies KEYEVENTF_UNICODE, wVk must be 0. -
wScan
A hardware scan code for the key. If dwFlags specifies KEYEVENTF_UNICODE, wScan specifies a Unicode character which is to be sent to the foreground application. -
dwFlags
Specifies various aspects of a keystroke. This member can be certain combinations of the following values. -
time
The time stamp for the event, in milliseconds. If this parameter is zero, the system will provide its own time stamp. -
dwExtraInfo
An additional value associated with the keystroke. Use the GetMessageExtraInfo function to obtain this information.
-
-
Konstruktordetails
-
KEYBDINPUT
public KEYBDINPUT() -
KEYBDINPUT
-