ITAddressTranslationInfo::get_DestinationCountryCode method (tapi3if.h)

The get_DestinationCountryCode method retrieves the country/region code for the call destination.

Syntax

HRESULT get_DestinationCountryCode(
  [out] long *CountryCode
);

Parameters

[out] CountryCode

A pointer to destination 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 an invalid pointer.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Remarks

Corresponds to the dwDestCountry 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