Microsoft DirectX 9.0

IFrequencyMap::get_CountryCode

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(
    ULONG *pulCountryCode
);

Parameters

  pulCountryCode

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

Return Values

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.

See Also