Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
.gif)
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 |