Package com.sun.jna.platform.win32
Class WinNT.SYSTEM_POWER_CAPABILITIES
- java.lang.Object
- 
- com.sun.jna.Structure
- 
- com.sun.jna.platform.win32.WinNT.SYSTEM_POWER_CAPABILITIES
 
 
- 
- Enclosing interface:
- WinNT
 
 @FieldOrder({"PowerButtonPresent","SleepButtonPresent","LidPresent","SystemS1","SystemS2","SystemS3","SystemS4","SystemS5","HiberFilePresent","FullWake","VideoDimPresent","ApmPresent","UpsPresent","ThermalControl","ProcessorThrottle","ProcessorMinThrottle","ProcessorMaxThrottle","FastSystemS4","Hiberboot","WakeAlarmPresent","AoAc","DiskSpinDown","HiberFileType","AoAcConnectivitySupported","spare3","SystemBatteriesPresent","BatteriesAreShortTerm","BatteryScale","AcOnLineWake","SoftLidWake","RtcWake","MinDeviceWakeState","DefaultLowLatencyWake"}) public static class WinNT.SYSTEM_POWER_CAPABILITIES extends Structure Contains information about the power capabilities of the system.
- 
- 
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 intAcOnLineWakebyteAoAcbyteAoAcConnectivitySupportedbyteApmPresentbyteBatteriesAreShortTermWinNT.BATTERY_REPORTING_SCALE[]BatteryScaleintDefaultLowLatencyWakebyteDiskSpinDownbyteFastSystemS4byteFullWakebyteHiberbootbyteHiberFilePresentbyteHiberFileTypebyteLidPresentintMinDeviceWakeStatebytePowerButtonPresentbyteProcessorMaxThrottlebyteProcessorMinThrottlebyteProcessorThrottleintRtcWakebyteSleepButtonPresentintSoftLidWakebyte[]spare3byteSystemBatteriesPresentbyteSystemS1byteSystemS2byteSystemS3byteSystemS4byteSystemS5byteThermalControlbyteUpsPresentbyteVideoDimPresentbyteWakeAlarmPresent- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description SYSTEM_POWER_CAPABILITIES()SYSTEM_POWER_CAPABILITIES(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- 
PowerButtonPresentpublic byte PowerButtonPresent 
 - 
SleepButtonPresentpublic byte SleepButtonPresent 
 - 
LidPresentpublic byte LidPresent 
 - 
SystemS1public byte SystemS1 
 - 
SystemS2public byte SystemS2 
 - 
SystemS3public byte SystemS3 
 - 
SystemS4public byte SystemS4 
 - 
SystemS5public byte SystemS5 
 - 
HiberFilePresentpublic byte HiberFilePresent 
 - 
FullWakepublic byte FullWake 
 - 
VideoDimPresentpublic byte VideoDimPresent 
 - 
ApmPresentpublic byte ApmPresent 
 - 
UpsPresentpublic byte UpsPresent 
 - 
ThermalControlpublic byte ThermalControl 
 - 
ProcessorThrottlepublic byte ProcessorThrottle 
 - 
ProcessorMinThrottlepublic byte ProcessorMinThrottle 
 - 
ProcessorMaxThrottlepublic byte ProcessorMaxThrottle 
 - 
FastSystemS4public byte FastSystemS4 
 - 
Hiberbootpublic byte Hiberboot 
 - 
WakeAlarmPresentpublic byte WakeAlarmPresent 
 - 
AoAcpublic byte AoAc 
 - 
DiskSpinDownpublic byte DiskSpinDown 
 - 
HiberFileTypepublic byte HiberFileType 
 - 
AoAcConnectivitySupportedpublic byte AoAcConnectivitySupported 
 - 
spare3public byte[] spare3 
 - 
SystemBatteriesPresentpublic byte SystemBatteriesPresent 
 - 
BatteriesAreShortTermpublic byte BatteriesAreShortTerm 
 - 
BatteryScalepublic WinNT.BATTERY_REPORTING_SCALE[] BatteryScale 
 - 
AcOnLineWakepublic int AcOnLineWake 
 - 
SoftLidWakepublic int SoftLidWake 
 - 
RtcWakepublic int RtcWake 
 - 
MinDeviceWakeStatepublic int MinDeviceWakeState 
 - 
DefaultLowLatencyWakepublic int DefaultLowLatencyWake 
 
- 
 - 
Constructor Detail- 
SYSTEM_POWER_CAPABILITIESpublic SYSTEM_POWER_CAPABILITIES(Pointer p) 
 - 
SYSTEM_POWER_CAPABILITIESpublic SYSTEM_POWER_CAPABILITIES() 
 
- 
 
-