PowerStatusMsg::GetPowerStatusString

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the current power status, which includes both power-supply status and battery status, in a human-readable string.

Syntax

void GetPowerStatusString(
  TCHAR *Buf,
  int Len
);

Parameters

  • Buf
    [in/out] Character string that on return will contain the current power status from this power-status message.
  • Len
    [in] Indicates the length of the string in the Buf character string.

Return Value

None.

Remarks

On return, Buf will contain a human-readable string describing both the result of GetPowerSupply and GetBatteryStatus.

Requirements

Header DBRLib.h
Library DBRLib.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

PowerStatusMsg::SetPowerStatus
PowerStatusMsg Class
MSN Direct Services Classes