Package com.sun.jna.platform.win32
Class WinNT.SYSTEM_POWER_LEVEL
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinNT.SYSTEM_POWER_LEVEL
- Enclosing interface:
- WinNT
@FieldOrder({"Enable","Spare","BatteryLevel","PowerPolicy","MinSystemState"})
public static class WinNT.SYSTEM_POWER_LEVEL
extends Structure
Contains information about system battery drain policy settings.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintbyteintbyte[]Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods 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 Details- 
Enablepublic byte Enable
- 
Sparepublic byte[] Spare
- 
BatteryLevelpublic int BatteryLevel
- 
PowerPolicy
- 
MinSystemStatepublic int MinSystemState
 
- 
- 
Constructor Details- 
SYSTEM_POWER_LEVELpublic SYSTEM_POWER_LEVEL()
 
-