DownloadStatusMsg::GetTrafficString

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the download status for the traffic channel in a human-readable string.

Syntax

void GetTrafficString(
  TCHAR *Buf,
  int Len
);

Parameters

  • Buf
    [in/out] Character string that on return contains the download status of the traffic channel.
  • Len
    [in] Specifies the length of the Buf character string.

Return Value

None.

Remarks

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

The traffic-download status is an average between traffic flow and traffic incidents. Traffic data must include both traffic flow and traffic incidents. No data is reflected as 0 percent; traffic incidents can be a maximum of 50 percent, traffic flow can be a maximum of 50 percent, and both traffic incidents and traffic flow can be a maximum of 100 percent.

This method calls GetPercentageString to generate the human-readable string.

Requirements

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

See Also

Reference

DownloadStatusMsg::GetTraffic
DownloadStatusMsg Class
MSN Direct Services Classes