BATTERY_NOTIFY structure (batclass.h)
A battery miniclass driver receives a BATTERY_NOTIFY structure when its BatteryMiniSetStatusNotify routine is called.
Syntax
typedef struct {
ULONG PowerState;
ULONG LowCapacity;
ULONG HighCapacity;
} BATTERY_NOTIFY, *PBATTERY_NOTIFY;
Members
PowerState
Contains one or more of the following flags to specify a battery power state: BATTERY_POWER_ON_LINE, BATTERY_DISCHARGING, BATTERY_CHARGING, BATTERY_CRITICAL.
LowCapacity
Specifies a ULONG value indicating the battery capacity below which the class driver requires notification.
HighCapacity
Specifies a ULONG value indicating the battery capacity above which the class driver requires notification.
Requirements
Requirement | Value |
---|---|
Header | batclass.h (include Batclass.h) |