PowerStatusMsg::GetPowerSupply

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the least-significant bits of the internal PowerStatus field in this power-status message. These bits represent the power-supply data.

Syntax

unsigned char GetPowerSupply();

Parameters

None.

Return Value

Returns the least-significant bits of the internal PowerStatus field in this power-status message. It can be one of the following:

0

Device is using external power.

1

Device is using battery power, and it is in normal mode.

2

Device is using battery power, and it is in low-power mode.

Requirements

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

See Also

Reference

PowerStatusMsg Class
MSN Direct Services Classes