Partager via


Battery Driver Global Variables

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

Battery Drivers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.