@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
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field | Description |
---|---|---|
int |
BroadcastCapacityResolution |
|
WinNT.SYSTEM_POWER_LEVEL[] |
DischargePolicy |
|
int |
DozeS4Timeout |
|
byte |
DynamicThrottle |
|
byte |
FanThrottleTolerance |
|
byte |
ForcedThrottle |
|
WinNT.POWER_ACTION_POLICY |
Idle |
|
byte |
IdleSensitivity |
|
int |
IdleTimeout |
|
WinNT.POWER_ACTION_POLICY |
LidClose |
|
int |
LidOpenWake |
|
int |
MaxSleep |
|
int |
MinSleep |
|
byte |
MinThrottle |
|
byte |
OptimizeForPower |
|
WinNT.POWER_ACTION_POLICY |
OverThrottled |
|
WinNT.POWER_ACTION_POLICY |
PowerButton |
|
int |
ReducedLatencySleep |
|
int |
Reserved |
|
int |
Revision |
|
WinNT.POWER_ACTION_POLICY |
SleepButton |
|
byte[] |
Spare2 |
|
int |
Spare3 |
|
int |
SpindownTimeout |
|
byte |
VideoDimDisplay |
|
int[] |
VideoReserved |
|
int |
VideoTimeout |
|
int |
WinLogonFlags |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor | Description |
---|---|
SYSTEM_POWER_POLICY() |
|
SYSTEM_POWER_POLICY(Pointer p) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 int Revision
public WinNT.POWER_ACTION_POLICY PowerButton
public WinNT.POWER_ACTION_POLICY SleepButton
public WinNT.POWER_ACTION_POLICY LidClose
public int LidOpenWake
public int Reserved
public WinNT.POWER_ACTION_POLICY Idle
public int IdleTimeout
public byte IdleSensitivity
public byte DynamicThrottle
public byte[] Spare2
public int MinSleep
public int MaxSleep
public int ReducedLatencySleep
public int WinLogonFlags
public int Spare3
public int DozeS4Timeout
public int BroadcastCapacityResolution
public WinNT.SYSTEM_POWER_LEVEL[] DischargePolicy
public int VideoTimeout
public byte VideoDimDisplay
public int[] VideoReserved
public int SpindownTimeout
public byte OptimizeForPower
public byte FanThrottleTolerance
public byte ForcedThrottle
public byte MinThrottle
public WinNT.POWER_ACTION_POLICY OverThrottled
public SYSTEM_POWER_POLICY(Pointer p)
public SYSTEM_POWER_POLICY()