SYSTEM_BATTERY_STATE (Structures)
Last changed: -84.163.247.83

.
Summary

C# Definition:

struct SYSTEM_BATTERY_STATE {
   public byte AcOnLine;
   public byte BatteryPresent;
   public byte Charging;
   public byte Discharging;
   public byte spare1;
   public byte spare2;
   public byte spare3;
   public byte spare4;
   public UInt32 MaxCapacity;
   public UInt32 RemainingCapacity;
   public Int32 Rate;
   public UInt32 EstimatedTime;
   public UInt32 DefaultAlert1;
   public UInt32 DefaultAlert2;
}

VB Definition:

Structure SYSTEM_BATTERY_STATE

   Public AcOnLine As Byte
   Public BatteryPresent As Byte
   Public Charging As Byte
   Public Discharging As Byte
   Public spare1 As Byte
   Public spare2 As Byte
   Public spare3 As Byte
   Public spare4 As Byte
   Public MaxCapacity As UInt32
   Public RemainingCapacity As UInt32
   Public Rate As Int32
   Public EstimatedTime As UInt32
   Public DefaultAlert1 As UInt32
   Public DefaultAlert2 As UInt32

End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation