@Structure.FieldOrder(value={"dwOSVersionInfoSize","dwMajorVersion","dwMinorVersion","dwBuildNumber","dwPlatformId","szCSDVersion","wServicePackMajor","wServicePackMinor","wSuiteMask","wProductType","wReserved"}) public static class WinNT.OSVERSIONINFOEX extends Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, 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.
|
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() |
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, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
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)
public int getMajor()
public int getMinor()
public int getBuildNumber()
public int getPlatformId()
public java.lang.String getServicePack()
public int getSuiteMask()
public byte getProductType()