Microsoft DirectX 9.0

IAnalogTVTuningSpace::get_CountryCode

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

Syntax

HRESULT get_CountryCode(
  long*  pCountryCodeVal
);

Parameters

pCountryCodeVal

[out] Pointer to a variable of type long that receives the value for 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