Top Description Inners Fields Constructors Methods
org.lwjgl.system.windows

public Class WINDOWPLACEMENT

extends Struct<WINDOWPLACEMENT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Contains information about the placement of a window on the screen.

Layout


struct WINDOWPLACEMENT {
    UINT length;
    UINT flags;
    UINT showCmd;
    POINT ptMinPosition;
    POINT ptMaxPosition;
    RECT rcNormalPosition;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
FLAGS

The struct member offsets.

public static final int
LENGTH

The struct member offsets.

public static final int
PTMAXPOSITION

The struct member offsets.

public static final int
PTMINPOSITION

The struct member offsets.

public static final int
RCNORMALPOSITION

The struct member offsets.

public static final int
SHOWCMD

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
WINDOWPLACEMENT(long address, ByteBuffer container)

public
WINDOWPLACEMENT(ByteBuffer container)

Creates a WINDOWPLACEMENT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static WINDOWPLACEMENT
calloc()

Returns a new WINDOWPLACEMENT instance allocated with memCalloc.

public static WINDOWPLACEMENT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new WINDOWPLACEMENT.Buffer instance allocated with memCalloc.

public static WINDOWPLACEMENT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new WINDOWPLACEMENT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static WINDOWPLACEMENT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new WINDOWPLACEMENT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static WINDOWPLACEMENT
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static WINDOWPLACEMENT
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static WINDOWPLACEMENT.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static WINDOWPLACEMENT.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected WINDOWPLACEMENT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static WINDOWPLACEMENT
create()

Returns a new WINDOWPLACEMENT instance allocated with BufferUtils.

public static WINDOWPLACEMENT
create(long address)

Returns a new WINDOWPLACEMENT instance for the specified memory address.

public static WINDOWPLACEMENT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new WINDOWPLACEMENT.Buffer instance allocated with BufferUtils.

public static WINDOWPLACEMENT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a WINDOWPLACEMENT.Buffer instance at the specified memory.

public static WINDOWPLACEMENT
createSafe(long address)

Like create, but returns null if address is NULL.

public static WINDOWPLACEMENT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
flags()

the flags that control the position of the minimized window and the method by which the window is restored.

public WINDOWPLACEMENT
flags(int value)

Sets the specified value to the flags field.

public int
length()

the length of the structure, in bytes.

public WINDOWPLACEMENT
length(int value)

Sets the specified value to the length field.

public static WINDOWPLACEMENT
malloc()

Returns a new WINDOWPLACEMENT instance allocated with memAlloc.

public static WINDOWPLACEMENT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new WINDOWPLACEMENT.Buffer instance allocated with memAlloc.

public static WINDOWPLACEMENT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new WINDOWPLACEMENT instance allocated on the specified MemoryStack.

public static WINDOWPLACEMENT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new WINDOWPLACEMENT.Buffer instance allocated on the specified MemoryStack.

public static WINDOWPLACEMENT
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static WINDOWPLACEMENT
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static WINDOWPLACEMENT.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static WINDOWPLACEMENT.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static int
nlength(long struct)

Unsafe version of length.

public static void
nlength(long struct, int value)

Unsafe version of length.

public static POINT
nptMaxPosition(long struct)

Unsafe version of ptMaxPosition.

public static void
nptMaxPosition(long struct, POINT value)

Unsafe version of ptMaxPosition.

public static POINT
nptMinPosition(long struct)

Unsafe version of ptMinPosition.

public static void
nptMinPosition(long struct, POINT value)

Unsafe version of ptMinPosition.

public static RECT
nrcNormalPosition(long struct)

Unsafe version of rcNormalPosition.

public static void
nrcNormalPosition(long struct, RECT value)

Unsafe version of rcNormalPosition.

public static int
nshowCmd(long struct)

Unsafe version of showCmd.

public static void
nshowCmd(long struct, int value)

Unsafe version of showCmd.

public POINT
ptMaxPosition()

the coordinates of the window's upper-left corner when the window is maximized

public WINDOWPLACEMENT
ptMaxPosition(POINT value)

Copies the specified POINT to the ptMaxPosition field.

public WINDOWPLACEMENT
ptMaxPosition(Consumer<POINT> consumer)

Passes the ptMaxPosition field to the specified Consumer.

public POINT
ptMinPosition()

the coordinates of the window's upper-left corner when the window is minimized

public WINDOWPLACEMENT
ptMinPosition(POINT value)

Copies the specified POINT to the ptMinPosition field.

public WINDOWPLACEMENT
ptMinPosition(Consumer<POINT> consumer)

Passes the ptMinPosition field to the specified Consumer.

public RECT
rcNormalPosition()

the window's coordinates when the window is in the restored position

public WINDOWPLACEMENT
rcNormalPosition(RECT value)

Copies the specified RECT to the rcNormalPosition field.

public WINDOWPLACEMENT
rcNormalPosition(Consumer<RECT> consumer)

Passes the rcNormalPosition field to the specified Consumer.

public WINDOWPLACEMENT
set(int length, int flags, int showCmd, POINT ptMinPosition, POINT ptMaxPosition, RECT rcNormalPosition)

Initializes this struct with the specified values.

public WINDOWPLACEMENT

Returns:

this struct
set
(WINDOWPLACEMENT
the source struct
src
)

Copies the specified struct data to this struct.

public int
showCmd()

the current show state of the window

public WINDOWPLACEMENT
showCmd(int value)

Sets the specified value to the showCmd field.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

LENGTHback to summary
public static final int LENGTH

The struct member offsets.

PTMAXPOSITIONback to summary
public static final int PTMAXPOSITION

The struct member offsets.

PTMINPOSITIONback to summary
public static final int PTMINPOSITION

The struct member offsets.

RCNORMALPOSITIONback to summary
public static final int RCNORMALPOSITION

The struct member offsets.

SHOWCMDback to summary
public static final int SHOWCMD

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

Constructor Detail

WINDOWPLACEMENTback to summary
protected WINDOWPLACEMENT(long address, ByteBuffer container)
WINDOWPLACEMENTback to summary
public WINDOWPLACEMENT(ByteBuffer container)

Creates a WINDOWPLACEMENT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

callocback to summary
public static WINDOWPLACEMENT calloc()

Returns a new WINDOWPLACEMENT instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static WINDOWPLACEMENT.Buffer calloc(int capacity)

Returns a new WINDOWPLACEMENT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static WINDOWPLACEMENT calloc(MemoryStack stack)

Returns a new WINDOWPLACEMENT instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static WINDOWPLACEMENT.Buffer calloc(int capacity, MemoryStack stack)

Returns a new WINDOWPLACEMENT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static WINDOWPLACEMENT callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static WINDOWPLACEMENT callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static WINDOWPLACEMENT.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static WINDOWPLACEMENT.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected WINDOWPLACEMENT create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static WINDOWPLACEMENT create()

Returns a new WINDOWPLACEMENT instance allocated with BufferUtils.

createback to summary
public static WINDOWPLACEMENT create(long address)

Returns a new WINDOWPLACEMENT instance for the specified memory address.

createback to summary
public static WINDOWPLACEMENT.Buffer create(int capacity)

Returns a new WINDOWPLACEMENT.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static WINDOWPLACEMENT.Buffer create(long address, int capacity)

Create a WINDOWPLACEMENT.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static WINDOWPLACEMENT createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static WINDOWPLACEMENT.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
flagsback to summary
public int flags()

the flags that control the position of the minimized window and the method by which the window is restored. This member can be one or more of thefollowing values:
User32#WPF_SETMINPOSITION User32#WPF_RESTORETOMAXIMIZED User32#WPF_ASYNCWINDOWPLACEMENT

Annotations
@NativeType:UINT
flagsback to summary
public WINDOWPLACEMENT flags(int value)

Sets the specified value to the flags field.

lengthback to summary
public int length()

the length of the structure, in bytes. Before calling the User32#GetWindowPlacement or User32#SetWindowPlacement functions, set this member to SIZEOF.

Annotations
@NativeType:UINT
lengthback to summary
public WINDOWPLACEMENT length(int value)

Sets the specified value to the length field.

mallocback to summary
public static WINDOWPLACEMENT malloc()

Returns a new WINDOWPLACEMENT instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static WINDOWPLACEMENT.Buffer malloc(int capacity)

Returns a new WINDOWPLACEMENT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static WINDOWPLACEMENT malloc(MemoryStack stack)

Returns a new WINDOWPLACEMENT instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static WINDOWPLACEMENT.Buffer malloc(int capacity, MemoryStack stack)

Returns a new WINDOWPLACEMENT.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static WINDOWPLACEMENT mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static WINDOWPLACEMENT mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static WINDOWPLACEMENT.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static WINDOWPLACEMENT.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
nflagsback to summary
public static int nflags(long struct)

Unsafe version of flags.

nflagsback to summary
public static void nflags(long struct, int value)

Unsafe version of flags.

nlengthback to summary
public static int nlength(long struct)

Unsafe version of length.

nlengthback to summary
public static void nlength(long struct, int value)

Unsafe version of length.

nptMaxPositionback to summary
public static POINT nptMaxPosition(long struct)

Unsafe version of ptMaxPosition.

nptMaxPositionback to summary
public static void nptMaxPosition(long struct, POINT value)

Unsafe version of ptMaxPosition.

nptMinPositionback to summary
public static POINT nptMinPosition(long struct)

Unsafe version of ptMinPosition.

nptMinPositionback to summary
public static void nptMinPosition(long struct, POINT value)

Unsafe version of ptMinPosition.

nrcNormalPositionback to summary
public static RECT nrcNormalPosition(long struct)

Unsafe version of rcNormalPosition.

nrcNormalPositionback to summary
public static void nrcNormalPosition(long struct, RECT value)

Unsafe version of rcNormalPosition.

nshowCmdback to summary
public static int nshowCmd(long struct)

Unsafe version of showCmd.

nshowCmdback to summary
public static void nshowCmd(long struct, int value)

Unsafe version of showCmd.

ptMaxPositionback to summary
public POINT ptMaxPosition()

the coordinates of the window's upper-left corner when the window is maximized

ptMaxPositionback to summary
public WINDOWPLACEMENT ptMaxPosition(POINT value)

Copies the specified POINT to the ptMaxPosition field.

ptMaxPositionback to summary
public WINDOWPLACEMENT ptMaxPosition(Consumer<POINT> consumer)

Passes the ptMaxPosition field to the specified Consumer.

ptMinPositionback to summary
public POINT ptMinPosition()

the coordinates of the window's upper-left corner when the window is minimized

ptMinPositionback to summary
public WINDOWPLACEMENT ptMinPosition(POINT value)

Copies the specified POINT to the ptMinPosition field.

ptMinPositionback to summary
public WINDOWPLACEMENT ptMinPosition(Consumer<POINT> consumer)

Passes the ptMinPosition field to the specified Consumer.

rcNormalPositionback to summary
public RECT rcNormalPosition()

the window's coordinates when the window is in the restored position

rcNormalPositionback to summary
public WINDOWPLACEMENT rcNormalPosition(RECT value)

Copies the specified RECT to the rcNormalPosition field.

rcNormalPositionback to summary
public WINDOWPLACEMENT rcNormalPosition(Consumer<RECT> consumer)

Passes the rcNormalPosition field to the specified Consumer.

setback to summary
public WINDOWPLACEMENT set(int length, int flags, int showCmd, POINT ptMinPosition, POINT ptMaxPosition, RECT rcNormalPosition)

Initializes this struct with the specified values.

setback to summary
public WINDOWPLACEMENT set(WINDOWPLACEMENT src)

Copies the specified struct data to this struct.

Parameters
src:WINDOWPLACEMENT

the source struct

Returns:WINDOWPLACEMENT

this struct

showCmdback to summary
public int showCmd()

the current show state of the window

Annotations
@NativeType:UINT
showCmdback to summary
public WINDOWPLACEMENT showCmd(int value)

Sets the specified value to the showCmd field.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
org.lwjgl.system.windows back to summary

public Class WINDOWPLACEMENT.Buffer

extends StructBuffer<WINDOWPLACEMENT, WINDOWPLACEMENT.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of WINDOWPLACEMENT structs.

Field Summary

Modifier and TypeField and Description
private static final WINDOWPLACEMENT

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new WINDOWPLACEMENT.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the WINDOWPLACEMENT#flags field.
flags
()

public WINDOWPLACEMENT.Buffer
flags(int value)

Sets the specified value to the WINDOWPLACEMENT#flags field.

protected WINDOWPLACEMENT
public int

Returns:

the value of the WINDOWPLACEMENT#length field.
length
()

public WINDOWPLACEMENT.Buffer
length(int value)

Sets the specified value to the WINDOWPLACEMENT#length field.

public POINT

Returns:

a POINT view of the WINDOWPLACEMENT#ptMaxPosition field.
ptMaxPosition
()

public WINDOWPLACEMENT.Buffer
ptMaxPosition(POINT value)

Copies the specified POINT to the WINDOWPLACEMENT#ptMaxPosition field.

public WINDOWPLACEMENT.Buffer
ptMaxPosition(Consumer<POINT> consumer)

Passes the WINDOWPLACEMENT#ptMaxPosition field to the specified Consumer.

public POINT

Returns:

a POINT view of the WINDOWPLACEMENT#ptMinPosition field.
ptMinPosition
()

public WINDOWPLACEMENT.Buffer
ptMinPosition(POINT value)

Copies the specified POINT to the WINDOWPLACEMENT#ptMinPosition field.

public WINDOWPLACEMENT.Buffer
ptMinPosition(Consumer<POINT> consumer)

Passes the WINDOWPLACEMENT#ptMinPosition field to the specified Consumer.

public RECT
public WINDOWPLACEMENT.Buffer
rcNormalPosition(RECT value)

Copies the specified RECT to the WINDOWPLACEMENT#rcNormalPosition field.

public WINDOWPLACEMENT.Buffer
rcNormalPosition(Consumer<RECT> consumer)

Passes the WINDOWPLACEMENT#rcNormalPosition field to the specified Consumer.

protected WINDOWPLACEMENT.Buffer
public int

Returns:

the value of the WINDOWPLACEMENT#showCmd field.
showCmd
()

public WINDOWPLACEMENT.Buffer
showCmd(int value)

Sets the specified value to the WINDOWPLACEMENT#showCmd field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final WINDOWPLACEMENT ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new WINDOWPLACEMENT.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 WINDOWPLACEMENT#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

flagsback to summary
public int flags()
Returns:int

the value of the WINDOWPLACEMENT#flags field.

Annotations
@NativeType:UINT
flagsback to summary
public WINDOWPLACEMENT.Buffer flags(int value)

Sets the specified value to the WINDOWPLACEMENT#flags field.

getElementFactoryback to summary
protected WINDOWPLACEMENT getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
lengthback to summary
public int length()
Returns:int

the value of the WINDOWPLACEMENT#length field.

Annotations
@NativeType:UINT
lengthback to summary
public WINDOWPLACEMENT.Buffer length(int value)

Sets the specified value to the WINDOWPLACEMENT#length field.

ptMaxPositionback to summary
public POINT ptMaxPosition()
Returns:POINT

a POINT view of the WINDOWPLACEMENT#ptMaxPosition field.

ptMaxPositionback to summary
public WINDOWPLACEMENT.Buffer ptMaxPosition(POINT value)

Copies the specified POINT to the WINDOWPLACEMENT#ptMaxPosition field.

ptMaxPositionback to summary
public WINDOWPLACEMENT.Buffer ptMaxPosition(Consumer<POINT> consumer)

Passes the WINDOWPLACEMENT#ptMaxPosition field to the specified Consumer.

ptMinPositionback to summary
public POINT ptMinPosition()
Returns:POINT

a POINT view of the WINDOWPLACEMENT#ptMinPosition field.

ptMinPositionback to summary
public WINDOWPLACEMENT.Buffer ptMinPosition(POINT value)

Copies the specified POINT to the WINDOWPLACEMENT#ptMinPosition field.

ptMinPositionback to summary
public WINDOWPLACEMENT.Buffer ptMinPosition(Consumer<POINT> consumer)

Passes the WINDOWPLACEMENT#ptMinPosition field to the specified Consumer.

rcNormalPositionback to summary
public RECT rcNormalPosition()
Returns:RECT

a RECT view of the WINDOWPLACEMENT#rcNormalPosition field.

rcNormalPositionback to summary
public WINDOWPLACEMENT.Buffer rcNormalPosition(RECT value)

Copies the specified RECT to the WINDOWPLACEMENT#rcNormalPosition field.

rcNormalPositionback to summary
public WINDOWPLACEMENT.Buffer rcNormalPosition(Consumer<RECT> consumer)

Passes the WINDOWPLACEMENT#rcNormalPosition field to the specified Consumer.

selfback to summary
protected WINDOWPLACEMENT.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
showCmdback to summary
public int showCmd()
Returns:int

the value of the WINDOWPLACEMENT#showCmd field.

Annotations
@NativeType:UINT
showCmdback to summary
public WINDOWPLACEMENT.Buffer showCmd(int value)

Sets the specified value to the WINDOWPLACEMENT#showCmd field.