Battery Driver Global Variables (Windows CE 5.0)

Send Feedback

The following table shows the battery driver global variables.

Global variable Description
gpfnBatteryPddIOControl This global variable is of type PFN_BATTERY_PDD_IOCONTROL. This global variable is declared in the MDD and defined in Battimpl.h.
gcsBattery This global variable is a critical section that you can use to serialize access to battery driver state. You typically access it indirectly through the LOCKBATTERY and UNLOCKBATTERY macros, which are defined in Battimpl.h. This global variable is declared in the MDD and defined in Battimpl.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.