@Structure.FieldOrder(value={"Enable","Spare","BatteryLevel","PowerPolicy","MinSystemState"}) public static class WinNT.SYSTEM_POWER_LEVEL extends Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field and Description |
---|---|
int |
BatteryLevel |
byte |
Enable |
int |
MinSystemState |
WinNT.POWER_ACTION_POLICY |
PowerPolicy |
byte[] |
Spare |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
SYSTEM_POWER_LEVEL() |
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 byte Enable
public byte[] Spare
public int BatteryLevel
public WinNT.POWER_ACTION_POLICY PowerPolicy
public int MinSystemState