Module winKernel :: Class SYSTEM_POWER_STATUS
[hide private]
[frames] | no frames]

Class SYSTEM_POWER_STATUS

source code

   object --+        
            |        
    ??._CData --+    
                |    
_ctypes.Structure --+
                    |
                   SYSTEM_POWER_STATUS

Instance Methods [hide private]

Inherited from _ctypes.Structure: __init__, __new__

Inherited from unreachable._CData: __ctypes_from_outparam__, __hash__, __reduce__, __setstate__

Inherited from object: __delattr__, __format__, __getattribute__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _fields_ = [('ACLineStatus', <class 'ctypes.c_byte'>), ('Batte...
  ACLineStatus = <Field type=c_byte, ofs=0, size=1>
  BatteryFlag = <Field type=c_byte, ofs=1, size=1>
  BatteryFullLiveTime = <Field type=c_ulong, ofs=8, size=4>
  BatteryLifePercent = <Field type=c_byte, ofs=2, size=1>
  BatteryLifeTime = <Field type=c_ulong, ofs=4, size=4>
  Reserved1 = <Field type=c_byte, ofs=3, size=1>
Properties [hide private]

Inherited from unreachable._CData: _b_base_, _b_needsfree_

Inherited from unreachable._CData (private): _objects

Inherited from object: __class__

Class Variable Details [hide private]

_fields_

Value:
[('ACLineStatus', <class 'ctypes.c_byte'>),
 ('BatteryFlag', <class 'ctypes.c_byte'>),
 ('BatteryLifePercent', <class 'ctypes.c_byte'>),
 ('Reserved1', <class 'ctypes.c_byte'>),
 ('BatteryLifeTime', <class 'ctypes.c_ulong'>),
 ('BatteryFullLiveTime', <class 'ctypes.c_ulong'>)]