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 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 intBroadcastCapacityResolutionWinNT.SYSTEM_POWER_LEVEL[]DischargePolicyintDozeS4TimeoutbyteDynamicThrottlebyteFanThrottleTolerancebyteForcedThrottleWinNT.POWER_ACTION_POLICYIdlebyteIdleSensitivityintIdleTimeoutWinNT.POWER_ACTION_POLICYLidCloseintLidOpenWakeintMaxSleepintMinSleepbyteMinThrottlebyteOptimizeForPowerWinNT.POWER_ACTION_POLICYOverThrottledWinNT.POWER_ACTION_POLICYPowerButtonintReducedLatencySleepintReservedintRevisionWinNT.POWER_ACTION_POLICYSleepButtonbyte[]Spare2intSpare3intSpindownTimeoutbyteVideoDimDisplayint[]VideoReservedintVideoTimeoutintWinLogonFlags- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description SYSTEM_POWER_POLICY()SYSTEM_POWER_POLICY(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- 
Revisionpublic int Revision 
 - 
PowerButtonpublic WinNT.POWER_ACTION_POLICY PowerButton 
 - 
SleepButtonpublic WinNT.POWER_ACTION_POLICY SleepButton 
 - 
LidClosepublic WinNT.POWER_ACTION_POLICY LidClose 
 - 
LidOpenWakepublic int LidOpenWake 
 - 
Reservedpublic int Reserved 
 - 
Idlepublic WinNT.POWER_ACTION_POLICY 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 
 - 
DischargePolicypublic WinNT.SYSTEM_POWER_LEVEL[] 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 
 - 
OverThrottledpublic WinNT.POWER_ACTION_POLICY OverThrottled 
 
- 
 - 
Constructor Detail- 
SYSTEM_POWER_POLICYpublic SYSTEM_POWER_POLICY(Pointer p) 
 - 
SYSTEM_POWER_POLICYpublic SYSTEM_POWER_POLICY() 
 
- 
 
-