IAMTuner::put_CountryCode
Microsoft DirectShow 9.0 |
IAMTuner::put_CountryCode
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
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also