@FieldOrder({"AcOnLine","BatteryPresent","Charging","Discharging","Spare1","Tag","MaxCapacity","RemainingCapacity","Rate","EstimatedTime","DefaultAlert1","DefaultAlert2"}) public static class WinNT.SYSTEM_BATTERY_STATE extends Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField| Modifier and Type | Field | Description |
|---|---|---|
byte |
AcOnLine |
|
byte |
BatteryPresent |
|
byte |
Charging |
|
int |
DefaultAlert1 |
|
int |
DefaultAlert2 |
|
byte |
Discharging |
|
int |
EstimatedTime |
|
int |
MaxCapacity |
|
int |
Rate |
|
int |
RemainingCapacity |
|
byte[] |
Spare1 |
|
byte |
Tag |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE| Constructor | Description |
|---|---|
SYSTEM_BATTERY_STATE() |
|
SYSTEM_BATTERY_STATE(Pointer p) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitallocateMemory, 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, writeFieldpublic byte AcOnLine
public byte BatteryPresent
public byte Charging
public byte Discharging
public byte[] Spare1
public byte Tag
public int MaxCapacity
public int RemainingCapacity
public int Rate
public int EstimatedTime
public int DefaultAlert1
public int DefaultAlert2
public SYSTEM_BATTERY_STATE(Pointer p)
public SYSTEM_BATTERY_STATE()