Package com.sun.jna.platform.win32

# Class WinBase.SYSTEM_INFO.UNION

java.lang.Object
com.sun.jna.Structure
com.sun.jna.Union
com.sun.jna.platform.win32.WinBase.SYSTEM_INFO.UNION

Direct Known Subclasses:
  `WinBase.SYSTEM_INFO.UNION.ByReference`

Enclosing class:
  WinBase.SYSTEM_INFO

public static class WinBase.SYSTEM_INFO.UNION extends Union
Unnamed inner union.

## Nested Class Summary

Nested Classes
Modifier and Type
Class
Description
`static class`
`WinBase.SYSTEM_INFO.UNION.ByReference`

## Nested classes/interfaces inherited from class com.sun.jna.Structure

`Structure.ByValue, Structure.FieldOrder, Structure.StructField`

## Field Summary

Fields
Modifier and Type
Field
Description
`WinDef.DWORD`
`dwOemID`
An obsolete member that is retained for compatibility with Windows NT 3.5 and earlier.
`WinBase.SYSTEM_INFO.PI`
`pi`
Processor architecture (unnamed struct).

### Fields inherited from class com.sun.jna.Structure

`ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE`

## Constructor Summary

Constructors
Constructor
Description
`UNION()`

## Method Summary

Modifier and Type
Method
Description
`void`
`read()`
Reads the fields of the struct from native memory

### Methods inherited from class com.sun.jna.Union

`getFieldOrder, getNativeAlignment, getTypedValue, readField, readField, setType, setType, setTypedValue, writeField, writeField, writeField`

### Methods inherited from class com.sun.jna.Structure

`allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write`

### Methods inherited from class java.lang.Object

`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

## Field Details

### dwOemID

public WinDef.DWORD dwOemID
An obsolete member that is retained for compatibility with Windows NT 3.5 and earlier. New applications should use the wProcessorArchitecture branch of the union. Windows Me/98/95: The system always sets this member to zero, the value defined for PROCESSOR_ARCHITECTURE_INTEL.

### pi

public WinBase.SYSTEM_INFO.PI pi
Processor architecture (unnamed struct).

## Constructor Details

### UNION

public UNION()

## Method Details

### read

public void read()
Description copied from class: `Structure`
Reads the fields of the struct from native memory

Overrides:
  `read` in class `Structure`