Partager via


IAMTuner::put_CountryCode (Windows Embedded CE 6.0)

1/6/2010

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 Value

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

Header strmif.h
Windows Embedded CE Windows CE 5.0 Networked Media Device Feature Pack and later

See Also

Reference

IAMTuner Interface