Package com.sun.jna.platform.win32
Class WinNT.SYSTEM_BATTERY_STATE
- java.lang.Object
- 
- com.sun.jna.Structure
- 
- com.sun.jna.platform.win32.WinNT.SYSTEM_BATTERY_STATE
 
 
- 
- Enclosing interface:
- WinNT
 
 @FieldOrder({"AcOnLine","BatteryPresent","Charging","Discharging","Spare1","Tag","MaxCapacity","RemainingCapacity","Rate","EstimatedTime","DefaultAlert1","DefaultAlert2"}) public static class WinNT.SYSTEM_BATTERY_STATE extends Structure Contains information about the current state of the system battery.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
 
- 
 - 
Field SummaryFields Modifier and Type Field Description byteAcOnLinebyteBatteryPresentbyteChargingintDefaultAlert1intDefaultAlert2byteDischargingintEstimatedTimeintMaxCapacityintRateintRemainingCapacitybyte[]Spare1byteTag- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description SYSTEM_BATTERY_STATE()SYSTEM_BATTERY_STATE(Pointer p)
 - 
Method Summary- 
Methods inherited from class com.sun.jna.StructureallocateMemory, 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
 
- 
 
- 
- 
- 
Field Detail- 
AcOnLinepublic byte AcOnLine 
 - 
BatteryPresentpublic byte BatteryPresent 
 - 
Chargingpublic byte Charging 
 - 
Dischargingpublic byte Discharging 
 - 
Spare1public byte[] Spare1 
 - 
Tagpublic byte Tag 
 - 
MaxCapacitypublic int MaxCapacity 
 - 
RemainingCapacitypublic int RemainingCapacity 
 - 
Ratepublic int Rate 
 - 
EstimatedTimepublic int EstimatedTime 
 - 
DefaultAlert1public int DefaultAlert1 
 - 
DefaultAlert2public int DefaultAlert2 
 
- 
 - 
Constructor Detail- 
SYSTEM_BATTERY_STATEpublic SYSTEM_BATTERY_STATE(Pointer p) 
 - 
SYSTEM_BATTERY_STATEpublic SYSTEM_BATTERY_STATE() 
 
- 
 
-