Freigeben über


IAMTuner::get_CountryCode

 
Microsoft DirectShow 9.0

IAMTuner::get_CountryCode

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 Values

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 source. For a list of country/region codes, see International Analog TV Tuning.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also