Platform SDK: TAPI

ITAddressTranslationInfo::get_DestinationCountryCode

Gets the country code for the call destination.

HRESULT get_DestinationCountryCode(
  long *CountryCode
);

Parameters

CountryCode
[out, retval] Pointer to destination country code.

Return Values

Value Meaning
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 dwDestCountry member of TAPI 2's LINETRANSLATEOUTPUT structure.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITAddressTranslationInfo, Address Object