次の方法で共有


BATTERYLIFETIMEINFO (Compact 2013)

3/26/2014

This structure puts the BatteryGetLifeTimeInfo parameters into a form that can be passed through an IOCTL.

Syntax

typedef struct _BatteryLifetimeInfo_tag {
  SYSTEMTIME stLastChange;
  DWORD cmsCpuUsage;
  DWORD cmsPreviousCpuUsage;
} BATTERYLIFETIMEINFO, *PBATTERYLIFETIMEINFO;

Members

  • stLastChange
    Pointer to the local time when the user last changed the batteries.
  • cmsCpuUsage
    Pointer to the amount of time the current batteries have been in active use.
  • cmsPreviousCpuUsage
    Pointer to the amount of time the previous batteries were in active use before the user replaced them, or zero if unknown.

Requirements

Header

battery.h

See Also

Reference

Battery Driver Structures
BatteryGetLifeTimeInfo