Microsoft DirectX 9.0

IAnalogTVTuningSpace::put_CountryCode

The put_CountryCode method sets the country/region code of the tuning space (based on TAPI country/region codes).

Syntax

HRESULT put_CountryCode(
  long  NewCountryCodeVal
);

Parameters

NewCountryCodeVal

[in] Variable of type long that specifies the country/region code.

Return Values

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.

See Also