Condividi tramite


IFrequencyMap::get_CountryCode method (bdaiface.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 returns the country/region code the Network Provider is currently using. The country/region code determines which frequency table the Network Provider loads.

Syntax

HRESULT get_CountryCode(
  [out] ULONG *pulCountryCode
);

Parameters

[out] pulCountryCode

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

For a list of country/region codes, see Country/Region Assignments.

Requirements

Requirement Value
Target Platform Windows
Header bdaiface.h

See also

Error and Success Codes

IFrequencyMap Interface