struct MSG {
HWND hwnd;
UINT message;
WPARAM wParam;
LPARAM lParam;
DWORD time;
POINT pt;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | MSG.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | HWND
The struct member offsets. |
| public static final int | LPARAM
The struct member offsets. |
| public static final int | MESSAGE
The struct member offsets. |
| public static final int | PT
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 | WPARAM
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | MSG(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static MSG | |
| public static MSG. | |
| public static MSG | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static MSG. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static MSG | |
| public static MSG | |
| public static MSG. | |
| public static MSG. | |
| protected MSG | 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 MSG | |
| public static MSG | |
| public static MSG. | create(int
the buffer capacity capacity)Returns a new |
| public static MSG. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static MSG | |
| public static MSG. | |
| public long | |
| public MSG | |
| public long | |
| public MSG | |
| public static MSG | |
| public static MSG. | |
| public static MSG | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static MSG. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static MSG | |
| public static MSG | |
| public static MSG. | |
| public static MSG. | |
| public int | |
| public MSG | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static POINT | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public POINT | |
| public MSG | |
| public MSG | |
| public MSG | |
| public MSG | |
| public int | |
| public int | |
| public MSG | |
| public long | |
| public MSG |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| HWND | back to summary |
|---|---|
| public static final int HWND The struct member offsets. | |
| LPARAM | back to summary |
|---|---|
| public static final int LPARAM The struct member offsets. | |
| MESSAGE | back to summary |
|---|---|
| public static final int MESSAGE The struct member offsets. | |
| PT | back to summary |
|---|---|
| public static final int PT 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. | |
| WPARAM | back to summary |
|---|---|
| public static final int WPARAM The struct member offsets. | |
| MSG | back to summary |
|---|---|
| protected MSG(long address, ByteBuffer container) | |
| MSG | back to summary |
|---|---|
| public MSG(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static MSG calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static MSG. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static MSG calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static MSG. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static MSG callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static MSG callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static MSG. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static MSG. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected MSG create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static MSG create() Returns a new | |
| create | back to summary |
|---|---|
| public static MSG create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static MSG. Returns a new
| |
| create | back to summary |
|---|---|
| public static MSG. Create a
| |
| createSafe | back to summary |
|---|---|
| public static MSG createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static MSG. Like
| |
| hwnd | back to summary |
|---|---|
| public long hwnd() a handle to the window whose window procedure receives the message. This member is
| |
| hwnd | back to summary |
|---|---|
| public MSG hwnd(long value) Sets the specified value to the | |
| lParam | back to summary |
|---|---|
| public long lParam() additional information about the message. The exact meaning depends on the value of the message member.
| |
| lParam | back to summary |
|---|---|
| public MSG lParam(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static MSG malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static MSG. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static MSG malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static MSG. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static MSG mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static MSG mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static MSG. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static MSG. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| message | back to summary |
|---|---|
| public int message() the message identifier. Applications can only use the low word; the high word is reserved by the system.
| |
| message | back to summary |
|---|---|
| public MSG message(int value) Sets the specified value to the | |
| nhwnd | back to summary |
|---|---|
| public static long nhwnd(long struct) Unsafe version of | |
| nhwnd | back to summary |
|---|---|
| public static void nhwnd(long struct, long value) Unsafe version of | |
| nlParam | back to summary |
|---|---|
| public static long nlParam(long struct) Unsafe version of | |
| nlParam | back to summary |
|---|---|
| public static void nlParam(long struct, long value) Unsafe version of | |
| nmessage | back to summary |
|---|---|
| public static int nmessage(long struct) Unsafe version of | |
| nmessage | back to summary |
|---|---|
| public static void nmessage(long struct, int value) Unsafe version of | |
| npt | back to summary |
|---|---|
| public static POINT npt(long struct) Unsafe version of | |
| npt | back to summary |
|---|---|
| public static void npt(long struct, POINT 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 | |
| nwParam | back to summary |
|---|---|
| public static long nwParam(long struct) Unsafe version of | |
| nwParam | back to summary |
|---|---|
| public static void nwParam(long struct, long value) Unsafe version of | |
| pt | back to summary |
|---|---|
| public POINT pt() the cursor position, in screen coordinates, when the message was posted. | |
| pt | back to summary |
|---|---|
| public MSG pt(POINT value) | |
| pt | back to summary |
|---|---|
| public MSG pt(Consumer<POINT> consumer) | |
| set | back to summary |
|---|---|
| public MSG set(long hwnd, int message, long wParam, long lParam, int time, POINT pt) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public MSG set(MSG 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 at which the message was posted
| |
| time | back to summary |
|---|---|
| public MSG time(int value) Sets the specified value to the | |
| wParam | back to summary |
|---|---|
| public long wParam() additional information about the message. The exact meaning depends on the value of the message member.
| |
| wParam | back to summary |
|---|---|
| public MSG wParam(long value) Sets the specified value to the | |
MSG structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final MSG |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected MSG | |
| public long | |
| public MSG. | |
| public long | |
| public MSG. | |
| public int | |
| public MSG. | |
| public POINT | |
| public MSG. | |
| public MSG. | |
| protected MSG. | |
| public int | |
| public MSG. | |
| public long | |
| public MSG. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final MSG 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) | |
| getElementFactory | back to summary |
|---|---|
| protected MSG getElementFactory() Implements abstract org.
| |
| hwnd | back to summary |
|---|---|
public long hwnd()
| |
| hwnd | back to summary |
|---|---|
| public MSG. Sets the specified value to the | |
| lParam | back to summary |
|---|---|
public long lParam()
| |
| lParam | back to summary |
|---|---|
| public MSG. Sets the specified value to the | |
| message | back to summary |
|---|---|
public int message()
| |
| message | back to summary |
|---|---|
| public MSG. Sets the specified value to the | |
| pt | back to summary |
|---|---|
| public POINT pt() | |
| pt | back to summary |
|---|---|
| public MSG. | |
| pt | back to summary |
|---|---|
| public MSG. | |
| self | back to summary |
|---|---|
| protected MSG. Implements abstract org.
| |
| time | back to summary |
|---|---|
public int time()
| |
| time | back to summary |
|---|---|
| public MSG. Sets the specified value to the | |
| wParam | back to summary |
|---|---|
public long wParam()
| |
| wParam | back to summary |
|---|---|
| public MSG. Sets the specified value to the | |