Partager via


BatteryPDDPowerHandler (Compact 2013)

3/26/2014

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

Syntax

void WINAPI BatteryPDDPowerHandler(
  BOOL bOff
);

Parameters

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

Return Value

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.

Note

This function is statically linked to the battery driver MDD.

Requirements

Header

battimpl.h

See Also

Reference

Battery Driver Functions
BatteryPDDResume