BatteryPDDPowerHandler

This power callback performs hardware-specific processing for the battery driver.

void WINAPI BatteryPDDPowerHandler(
  BOOL bOff
);

Parameters

  • bOff
    [in] TRUE if suspending, FALSE if resuming.

Return Values

None.

Remarks

This routine is invoked from the battery driver's power callback. In the power callback context, only a limited subset of operating system services is available. If more complicated processing is required, it can be performed in BatteryPDDResume.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Battimpl.h.
Link Library: Statically linked to the battery driver MDD.

See Also

Battery Drivers | BatteryPDDResume

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.