POWER_GETPOWERSTATUS (60h) - Parameter Packet Format

The majority of the parameter packet fields are output fields for this function. The exception is the ParmLength field, which is both input and output.

┌─────────────────────────────────────────┐
│Field             Length     C Datatype  │
├─────────────────────────────────────────┤
│ParmLength        WORD       USHORT      │
├─────────────────────────────────────────┤
│PowerFlags        WORD       USHORT      │
├─────────────────────────────────────────┤
│ACStatus          BYTE       UCHAR       │
├─────────────────────────────────────────┤
│BatteryStatus     BYTE       UCHAR       │
├─────────────────────────────────────────┤
│BatteryLife       BYTE       UCHAR       │
└─────────────────────────────────────────┘


[Back: POWER_GETPOWERSTATUS (60h) - BatteryLife]
[Next: POWER_GETPOWERSTATUS (60h) - ReturnCode]