Partager via


IAMTuner::get_CountryCode (Compact 2013)

3/26/2014

The get_CountryCode method retrieves the country/region code that establishes the current channel-to-frequency mapping.

Syntax

HRESULT get_CountryCode(
  long* plCountryCode
);

Parameters

  • plCountryCode
    [out] Pointer to a variable that receives the country/region code currently in use by the TV Tuner filter.

Return Value

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

Remarks

The IAMTuner::put_CountryCode method determines which channel-to-frequency mapping table to use. This establishes the base frequencies for the given country/region. Use the IAMTVTuner::AutoTune method to determine the exact frequencies for specific regions.

Override the country/region code when a country/region wants to receive broadcast video from a different national/regional source. For a list of country/region codes, see International Analog TV Tuning.

Requirements

Header

dshow.h,
strmif.h

Library

Strmiids.lib

See Also

Reference

IAMTuner Interface