Compartir a través de


IAMTuner::put_CountryCode (Compact 2013)

3/26/2014

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 countries/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/regional source.

Requirements

Header

dshow.h,
strmif.h

Library

Strmiids.lib

See Also

Reference

IAMTuner Interface