Share via


IMSVidAnalogTuner::get_CountryCode method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get_CountryCode method retrieves the tuner's country/region code.

Syntax

HRESULT get_CountryCode(
  [out] long *lcc
);

Parameters

[out] lcc

Pointer to a variable that receives the country/region code.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Do not confuse the international country/region code with the LCID. The country/region code establishes the mapping between channel numbers and frequencies.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IAMTuner::get_CountryCode

IMSVidAnalogTuner Interface

IMSVidAnalogTuner::put_CountryCode

International Analog TV Tuning