Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
WinDef.DWORD |
cb
The size of the structure, in bytes.
|
WinDef.WORD |
cbReserved2
Reserved for use by the C Run-time; must be zero.
|
WinDef.DWORD |
dwFillAttribute
If dwFlags specifies STARTF_USEFILLATTRIBUTE, this member is the
initial text and background colors if a new console window is created
in a console application.
|
int |
dwFlags
A bit field that determines whether certain STARTUPINFO members are
used when the process creates a window.
|
WinDef.DWORD |
dwX
If dwFlags specifies STARTF_USEPOSITION, this member is the x offset
of the upper left corner of a window if a new window is created, in
pixels.
|
WinDef.DWORD |
dwXCountChars
If dwFlags specifies STARTF_USECOUNTCHARS, if a new console window is
created in a console process, this member specifies the screen buffer
width, in character columns.
|
WinDef.DWORD |
dwXSize
If dwFlags specifies STARTF_USESIZE, this member is the width of the
window if a new window is created, in pixels.
|
WinDef.DWORD |
dwY
If dwFlags specifies STARTF_USEPOSITION, this member is the y offset
of the upper left corner of a window if a new window is created, in
pixels.
|
WinDef.DWORD |
dwYCountChars
If dwFlags specifies STARTF_USECOUNTCHARS, if a new console window is
created in a console process, this member specifies the screen buffer
height, in character rows.
|
WinDef.DWORD |
dwYSize
If dwFlags specifies STARTF_USESIZE, this member is the height of the
window if a new window is created, in pixels.
|
WinNT.HANDLE |
hStdError
If dwFlags specifies STARTF_USESTDHANDLES, this member is the
standard error handle for the process.
|
WinNT.HANDLE |
hStdInput
If dwFlags specifies STARTF_USESTDHANDLES, this member is the
standard input handle for the process.
|
WinNT.HANDLE |
hStdOutput
If dwFlags specifies STARTF_USESTDHANDLES, this member is the
standard output handle for the process.
|
java.lang.String |
lpDesktop
The name of the desktop, or the name of both the desktop and window station for this process.
|
java.lang.String |
lpReserved
Reserved; must be NULL.
|
ByteByReference |
lpReserved2
Reserved for use by the C Run-time; must be NULL.
|
java.lang.String |
lpTitle
For console processes, this is the title displayed in the title bar
if a new console window is created.
|
WinDef.WORD |
wShowWindow
If dwFlags specifies STARTF_USESHOWWINDOW, this member can be any of
the values that can be specified in the nCmdShow parameter for the
ShowWindow function, except for SW_SHOWDEFAULT.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
STARTUPINFO() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public WinDef.DWORD cb
public java.lang.String lpReserved
public java.lang.String lpDesktop
public java.lang.String lpTitle
public WinDef.DWORD dwX
public WinDef.DWORD dwY
public WinDef.DWORD dwXSize
public WinDef.DWORD dwYSize
public WinDef.DWORD dwXCountChars
public WinDef.DWORD dwYCountChars
public WinDef.DWORD dwFillAttribute
public int dwFlags
public WinDef.WORD wShowWindow
public WinDef.WORD cbReserved2
public ByteByReference lpReserved2
public WinNT.HANDLE hStdInput
public WinNT.HANDLE hStdOutput
public WinNT.HANDLE hStdError
protected java.util.List<java.lang.String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure