DownloadStatusMsg::GetGasChannel

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the download status for the gas channel.

Syntax

BYTE GetGasChannel();

Parameters

None.

Return Value

Returns a BYTE that ranges between 0 and 100 and represents the percentage of the data downloaded. If the value is greater than 100, this indicates that the download is 100 percent complete.

Remarks

The download status refers to the process of downloading up-to-date data about gas stations and prices from the Microsoft DirectBand wireless datacasting network to the MSN Direct receiver through the gas channel.

The gas-channel download status is a weighted average between 75 percent of the total number of available gas stations in the local region, and 25 percent of the total number of new available prices for the day. Note that the number of gas stations and prices changes daily.

Requirements

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

See Also

Reference

DownloadStatusMsg::GetGasChannelString
DownloadStatusMsg Class
MSN Direct Services Classes