Package com.sun.jna.platform.win32
Class WinNT.SYSTEM_POWER_POLICY
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinNT.SYSTEM_POWER_POLICY
- Enclosing interface:
- WinNT
@FieldOrder({"Revision","PowerButton","SleepButton","LidClose","LidOpenWake","Reserved","Idle","IdleTimeout","IdleSensitivity","DynamicThrottle","Spare2","MinSleep","MaxSleep","ReducedLatencySleep","WinLogonFlags","Spare3","DozeS4Timeout","BroadcastCapacityResolution","DischargePolicy","VideoTimeout","VideoDimDisplay","VideoReserved","SpindownTimeout","OptimizeForPower","FanThrottleTolerance","ForcedThrottle","MinThrottle","OverThrottled"})
public static class WinNT.SYSTEM_POWER_POLICY
extends Structure
Contains information about the current system power policy.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintintbytebytebytebyteintintintintbytebyteintintintbyte[]intintbyteint[]intintFields 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- 
Revisionpublic int Revision
- 
PowerButton
- 
SleepButton
- 
LidClose
- 
LidOpenWakepublic int LidOpenWake
- 
Reservedpublic int Reserved
- 
Idle
- 
IdleTimeoutpublic int IdleTimeout
- 
IdleSensitivitypublic byte IdleSensitivity
- 
DynamicThrottlepublic byte DynamicThrottle
- 
Spare2public byte[] Spare2
- 
MinSleeppublic int MinSleep
- 
MaxSleeppublic int MaxSleep
- 
ReducedLatencySleeppublic int ReducedLatencySleep
- 
WinLogonFlagspublic int WinLogonFlags
- 
Spare3public int Spare3
- 
DozeS4Timeoutpublic int DozeS4Timeout
- 
BroadcastCapacityResolutionpublic int BroadcastCapacityResolution
- 
DischargePolicy
- 
VideoTimeoutpublic int VideoTimeout
- 
VideoDimDisplaypublic byte VideoDimDisplay
- 
VideoReservedpublic int[] VideoReserved
- 
SpindownTimeoutpublic int SpindownTimeout
- 
OptimizeForPowerpublic byte OptimizeForPower
- 
FanThrottleTolerancepublic byte FanThrottleTolerance
- 
ForcedThrottlepublic byte ForcedThrottle
- 
MinThrottlepublic byte MinThrottle
- 
OverThrottled
 
- 
- 
Constructor Details- 
SYSTEM_POWER_POLICY
- 
SYSTEM_POWER_POLICYpublic SYSTEM_POWER_POLICY()
 
-