public static class MONITORINFOEX.Buffer extends org.lwjgl.system.StructBuffer<MONITORINFOEX,MONITORINFOEX.Buffer> implements org.lwjgl.system.NativeResource
MONITORINFOEX structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
MONITORINFOEX.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
cbSize()
Returns the value of the
cbSize field. |
MONITORINFOEX.Buffer |
cbSize(int value)
Sets the specified value to the
cbSize field. |
int |
dwFlags()
Returns the value of the
dwFlags field. |
RECT |
rcMonitor()
Returns a
RECT view of the rcMonitor field. |
RECT |
rcWork()
Returns a
RECT view of the rcWork field. |
java.nio.ByteBuffer |
szDevice()
Returns a
ByteBuffer view of the szDevice field. |
java.lang.String |
szDeviceString()
Decodes the null-terminated string stored in the
szDevice field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
MONITORINFOEX.Buffer instance backed by the specified container.
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 MONITORINFOEX.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int cbSize()
cbSize field.public int dwFlags()
dwFlags field.public java.nio.ByteBuffer szDevice()
ByteBuffer view of the szDevice field.public java.lang.String szDeviceString()
szDevice field.public MONITORINFOEX.Buffer cbSize(int value)
cbSize field.Copyright LWJGL. All Rights Reserved. License terms.