IAMTuner::put_CountryCode (Windows CE 5.0)

Send Feedback

The put_CountryCode method sets the country/region code to establish the frequency to use.

Syntax

HRESULT put_CountryCode(
  long lCountryCode);

Parameters

  • lCountryCode
    [in] Value indicating the country/region code.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

This method establishes the base frequencies for the given country/region. Use the IAMTVTuner::AutoTune method to determine the exact frequencies for specific regions, unless there are previously cached settings for the new country/region.

Because channels in different countries/regions map to different frequencies, worldwide mapping tables are provided in the appendix International Analog TV Tuning. Override the existing country/region code by selecting the new value from the appendix and passing it in as the parameter for the put_CountryCode method. This is useful when a country/region wants to receive broadcast video from a different national source.

Requirements

OS Versions: Windows CE 5.0 Networked Media Device Feature Pack.
Header: strmif.h.

See Also

IAMTunerInterface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.