Share via


Battery Driver Global Variables (Windows Embedded CE 6.0)

1/6/2010

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.

See Also

Other Resources

Battery Driver Reference