struct KEYBDINPUT {
WORD wVk;
WORD wScan;
DWORD dwFlags;
DWORD time;
ULONG_PTR dwExtraInfo;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | KEYBDINPUT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DWEXTRAINFO
The struct member offsets. |
| public static final int | DWFLAGS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TIME
The struct member offsets. |
| public static final int | WSCAN
The struct member offsets. |
| public static final int | WVK
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | KEYBDINPUT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static KEYBDINPUT | |
| public static KEYBDINPUT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static KEYBDINPUT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static KEYBDINPUT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static KEYBDINPUT | |
| public static KEYBDINPUT | |
| public static KEYBDINPUT. | |
| public static KEYBDINPUT. | |
| protected KEYBDINPUT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static KEYBDINPUT | |
| public static KEYBDINPUT | |
| public static KEYBDINPUT. | create(int
the buffer capacity capacity)Returns a new |
| public static KEYBDINPUT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static KEYBDINPUT | |
| public static KEYBDINPUT. | |
| public long | |
| public KEYBDINPUT | |
| public int | |
| public KEYBDINPUT | |
| public static KEYBDINPUT | |
| public static KEYBDINPUT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static KEYBDINPUT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static KEYBDINPUT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static KEYBDINPUT | |
| public static KEYBDINPUT | |
| public static KEYBDINPUT. | |
| public static KEYBDINPUT. | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static short | |
| public static void | |
| public static short | |
| public static void | |
| public KEYBDINPUT | set(short wVk, short wScan, int dwFlags, int time, long dwExtraInfo)
Initializes this struct with the specified values. |
| public KEYBDINPUT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public KEYBDINPUT | |
| public short | |
| public KEYBDINPUT | |
| public short | |
| public KEYBDINPUT |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DWEXTRAINFO | back to summary |
|---|---|
| public static final int DWEXTRAINFO The struct member offsets. | |
| DWFLAGS | back to summary |
|---|---|
| public static final int DWFLAGS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TIME | back to summary |
|---|---|
| public static final int TIME The struct member offsets. | |
| WSCAN | back to summary |
|---|---|
| public static final int WSCAN The struct member offsets. | |
| WVK | back to summary |
|---|---|
| public static final int WVK The struct member offsets. | |
| KEYBDINPUT | back to summary |
|---|---|
| protected KEYBDINPUT(long address, ByteBuffer container) | |
| KEYBDINPUT | back to summary |
|---|---|
| public KEYBDINPUT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static KEYBDINPUT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static KEYBDINPUT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static KEYBDINPUT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static KEYBDINPUT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static KEYBDINPUT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static KEYBDINPUT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static KEYBDINPUT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static KEYBDINPUT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected KEYBDINPUT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static KEYBDINPUT create() Returns a new | |
| create | back to summary |
|---|---|
| public static KEYBDINPUT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static KEYBDINPUT. Returns a new
| |
| create | back to summary |
|---|---|
| public static KEYBDINPUT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static KEYBDINPUT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static KEYBDINPUT. Like
| |
| dwExtraInfo | back to summary |
|---|---|
| public long dwExtraInfo() an additional value associated with the keystroke. Use the
| |
| dwExtraInfo | back to summary |
|---|---|
| public KEYBDINPUT dwExtraInfo(long value) Sets the specified value to the | |
| dwFlags | back to summary | ||||
|---|---|---|---|---|---|
| public int dwFlags() specifies various aspects of a keystroke. One of:
| |||||
| dwFlags | back to summary |
|---|---|
| public KEYBDINPUT dwFlags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static KEYBDINPUT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static KEYBDINPUT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static KEYBDINPUT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static KEYBDINPUT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static KEYBDINPUT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static KEYBDINPUT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static KEYBDINPUT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static KEYBDINPUT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndwExtraInfo | back to summary |
|---|---|
| public static long ndwExtraInfo(long struct) Unsafe version of | |
| ndwExtraInfo | back to summary |
|---|---|
| public static void ndwExtraInfo(long struct, long value) Unsafe version of | |
| ndwFlags | back to summary |
|---|---|
| public static int ndwFlags(long struct) Unsafe version of | |
| ndwFlags | back to summary |
|---|---|
| public static void ndwFlags(long struct, int value) Unsafe version of | |
| ntime | back to summary |
|---|---|
| public static int ntime(long struct) Unsafe version of | |
| ntime | back to summary |
|---|---|
| public static void ntime(long struct, int value) Unsafe version of | |
| nwScan | back to summary |
|---|---|
| public static short nwScan(long struct) Unsafe version of | |
| nwScan | back to summary |
|---|---|
| public static void nwScan(long struct, short value) Unsafe version of | |
| nwVk | back to summary |
|---|---|
| public static short nwVk(long struct) Unsafe version of | |
| nwVk | back to summary |
|---|---|
| public static void nwVk(long struct, short value) Unsafe version of | |
| set | back to summary |
|---|---|
| public KEYBDINPUT set(short wVk, short wScan, int dwFlags, int time, long dwExtraInfo) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public KEYBDINPUT set(KEYBDINPUT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| time | back to summary |
|---|---|
| public int time() the time stamp for the event, in milliseconds. If this parameter is zero, the system will provide its own time stamp.
| |
| time | back to summary |
|---|---|
| public KEYBDINPUT time(int value) Sets the specified value to the | |
| wScan | back to summary |
|---|---|
| public short wScan() A hardware scan code for the key. If
| |
| wScan | back to summary |
|---|---|
| public KEYBDINPUT wScan(short value) Sets the specified value to the | |
| wVk | back to summary |
|---|---|
| public short wVk() A virtual-key code. The code must be a value in the range 1 to 254. If the
| |
| wVk | back to summary |
|---|---|
| public KEYBDINPUT wVk(short value) Sets the specified value to the | |
KEYBDINPUT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final KEYBDINPUT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public KEYBDINPUT. | |
| public int | |
| public KEYBDINPUT. | |
| protected KEYBDINPUT | |
| protected KEYBDINPUT. | |
| public int | |
| public KEYBDINPUT. | |
| public short | |
| public KEYBDINPUT. | |
| public short | |
| public KEYBDINPUT. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final KEYBDINPUT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| dwExtraInfo | back to summary |
|---|---|
public long dwExtraInfo()
| |
| dwExtraInfo | back to summary |
|---|---|
| public KEYBDINPUT. Sets the specified value to the | |
| dwFlags | back to summary |
|---|---|
public int dwFlags()
| |
| dwFlags | back to summary |
|---|---|
| public KEYBDINPUT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected KEYBDINPUT getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected KEYBDINPUT. Implements abstract org.
| |
| time | back to summary |
|---|---|
public int time()
| |
| time | back to summary |
|---|---|
| public KEYBDINPUT. Sets the specified value to the | |
| wScan | back to summary |
|---|---|
public short wScan()
| |
| wScan | back to summary |
|---|---|
| public KEYBDINPUT. Sets the specified value to the | |
| wVk | back to summary |
|---|---|
public short wVk()
| |
| wVk | back to summary |
|---|---|
| public KEYBDINPUT. Sets the specified value to the | |