ITAddressTranslationInfo::get_CurrentCountryCode method (tapi3if.h)

The get_CurrentCountryCode method gets the current country/region code.

Syntax

HRESULT get_CurrentCountryCode(
  [out] long *CountryCode
);

Parameters

[out] CountryCode

Pointer to the country/region code.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_POINTER
The CountryCode parameter is not a valid pointer.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Remarks

Corresponds to the dwCurrentCountry member of the TAPI 2 LINETRANSLATEOUTPUT structure.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

Address Object

ITAddressTranslationInfo