PBT_APMPOWERSTATUSCHANGE top-level constant Null safety

int const PBT_APMPOWERSTATUSCHANGE

Notifies applications of a change in the power status of the computer, such as a switch from battery power to A/C. The system also broadcasts this event when remaining battery power slips below the threshold specified by the user or if the battery power changes by a specified percentage.

Implementation

const PBT_APMPOWERSTATUSCHANGE = 0x000A;