TuningDataMsg::GetAdjacentFrequency

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the requested adjacent frequencies.

Syntax

unsigned short GetAdjacentFrequency(
  int index
);

Parameters

  • index
    [in] Specifies a zero-based index that indicates the maximum number of adjacent frequencies. This number must be less than the value returned by GetNumberOfAdjacentFrequencies.

Return Value

Returns an array of a maximum of 62 byte values that represent frequencies of adjacent regions. Each two-byte value represents the frequency × 10 of a station that is either in the current region, or in an adjacent region.

Returns 0 if the value in the index is greater than the number of available adjacent frequencies.

Returns a null value if no adjacent stations are available.

Remarks

The limit of 62 stations in the array is a theoretical limit. It is more likely that this method will return a maximum of 7 stations.

Requirements

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

See Also

Reference

TuningDataMsg Class
MSN Direct Services Classes