[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct SYSTEM_POWER_CAPABILITIES {
public bool PowerButtonPresent;
public bool SleepButtonPresent;
public bool LidPresent;
public bool SystemS1;
public bool SystemS2;
public bool SystemS3;
public bool SystemS4;
public bool SystemS5;
public bool HiberFilePresent;
public bool FullWake;
public bool VideoDimPresent;
public bool ApmPresent;
public bool UpsPresent;
public bool ThermalControl;
public bool ProcessorThrottle;
public byte ProcessorMinThrottle;
public byte ProcessorMaxThrottle;
public bool FastSystemS4;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
private byte[] spare2;
public bool DiskSpinDown;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
private byte[] spare3;
public bool SystemBatteriesPresent;
public bool BatteriesAreShortTerm;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
public BATTERY_REPORTING_SCALE[] BatteryScale;
public SYSTEM_POWER_STATE AcOnLineWake;
public SYSTEM_POWER_STATE SoftLidWake;
public SYSTEM_POWER_STATE RtcWake;
public SYSTEM_POWER_STATE MinDeviceWakeState;
public SYSTEM_POWER_STATE DefaultLowLatencyWake;
}
Structure SystemPowerCapabilities
Public TODO
End Structure
None.
None.