@msdn=http://windowssdk.msdn.microsoft.com/en-us/library/ms714728.aspx @pinvoke=http://pinvoke.net/$$$.htm Summary: Contains information about the current state of the system battery. Can be filled by Powrprof.CallNtPowerInformation. !!!!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: SYSTEM_BATTERY_STATE@msdn on MSDN
Edit Structures.SYSTEM...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.