次の方法で共有


BatteryPDDPowerHandler (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.2 and later
Note Statically linked to the battery driver MDD

See Also

Reference

BatteryPDDResume

Concepts

Battery Driver Functions