Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 3.75 KB

nf-strmif-iamtuner-get_countrycode.md

File metadata and controls

80 lines (62 loc) · 3.75 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:strmif.IAMTuner.get_CountryCode
IAMTuner::get_CountryCode (strmif.h)
The get_CountryCode method retrieves the country/region code that establishes the current channel-to-frequency mapping.
IAMTuner interface [DirectShow]
get_CountryCode method
IAMTuner.get_CountryCode
IAMTuner::get_CountryCode
IAMTunerget_CountryCode
dshow.iamtuner_get_countrycode
get_CountryCode
get_CountryCode method [DirectShow]
get_CountryCode method [DirectShow]
IAMTuner interface
strmif/IAMTuner::get_CountryCode
dshow\iamtuner_get_countrycode.htm
dshow
8b459ad8-c9e0-4b35-aec4-113c8a67d907
4/26/2023
IAMTuner interface [DirectShow],get_CountryCode method, IAMTuner.get_CountryCode, IAMTuner::get_CountryCode, IAMTunerget_CountryCode, dshow.iamtuner_get_countrycode, get_CountryCode, get_CountryCode method [DirectShow], get_CountryCode method [DirectShow],IAMTuner interface, strmif/IAMTuner::get_CountryCode
strmif.h
Dshow.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Strmiids.lib
Windows
19H1
IAMTuner::get_CountryCode
strmif/IAMTuner::get_CountryCode
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IAMTuner.get_CountryCode

IAMTuner::get_CountryCode

-description

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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

-parameters

-param plCountryCode [out]

Pointer to a variable that receives the country/region code currently in use by the TV Tuner filter.

-returns

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.

-see-also

Error and Success Codes

IAMTuner Interface