Muokkaa

Jaa


Supplying Battery Device Notification

The miniclass driver is responsible for monitoring the status of the batteries it supports and notifying the class driver when important changes occur.

In addition to the BatteryMiniQueryStatus routine, the miniclass driver also supplies the BatteryMiniSetStatusNotify and BatteryMiniDisableStatusNotify routines. The class driver uses the BatteryMiniSetStatusNotify and BatteryMiniDisableStatusNotify routines to request and cancel notification of specific battery states. These routines interact with the class and miniclass driver status routines as described in the next section. For more information about these two miniclass routines, see Setting and Canceling Battery Notification.