Condividi tramite


IAnalogTVTuningSpace::get_CountryCode method (tuner.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 gets the country/region code of the tuning space (based on TAPI country/region codes).

Syntax

HRESULT get_CountryCode(
  [out] long *CountryCodeVal
);

Parameters

[out] CountryCodeVal

Receives the value for the country/region code.

Return value

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Remarks

The tuner can use the country/region code to locate a likely channel for frequency mapping.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

IAnalogTVTuningSpace Interface