public static class WinNT.OSVERSIONINFOEX extends Structure
Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
WinDef.DWORD |
dwBuildNumber
The build number of the operating system.
|
WinDef.DWORD |
dwMajorVersion
The major version number of the operating system.
|
WinDef.DWORD |
dwMinorVersion
The minor version number of the operating system.
|
WinDef.DWORD |
dwOSVersionInfoSize
The size of this data structure, in bytes.
|
WinDef.DWORD |
dwPlatformId
The operating system platform.
|
static java.util.List<java.lang.String> |
FIELDS |
char[] |
szCSDVersion
A null-terminated string, such as "Service Pack 3", that indicates
the latest Service Pack installed on the system.
|
byte |
wProductType
Any additional information about the system.
|
byte |
wReserved
Reserved for future use.
|
WinDef.WORD |
wServicePackMajor
The major version number of the latest Service Pack installed on the
system.
|
WinDef.WORD |
wServicePackMinor
The minor version number of the latest Service Pack installed on the
system.
|
WinDef.WORD |
wSuiteMask
A bit mask that identifies the product suites available on the
system.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
OSVERSIONINFOEX() |
OSVERSIONINFOEX(Pointer memory) |
Modifier and Type | Method and Description |
---|---|
int |
getBuildNumber() |
protected java.util.List<java.lang.String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
int |
getMajor() |
int |
getMinor() |
int |
getPlatformId() |
byte |
getProductType() |
java.lang.String |
getServicePack() |
int |
getSuiteMask() |
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 static final java.util.List<java.lang.String> FIELDS
public WinDef.DWORD dwOSVersionInfoSize
public WinDef.DWORD dwMajorVersion
public WinDef.DWORD dwMinorVersion
public WinDef.DWORD dwBuildNumber
public WinDef.DWORD dwPlatformId
public char[] szCSDVersion
public WinDef.WORD wServicePackMajor
public WinDef.WORD wServicePackMinor
public WinDef.WORD wSuiteMask
public byte wProductType
public byte wReserved
public OSVERSIONINFOEX()
public OSVERSIONINFOEX(Pointer memory)
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
public int getMajor()
public int getMinor()
public int getBuildNumber()
public int getPlatformId()
public java.lang.String getServicePack()
public int getSuiteMask()
public byte getProductType()