ITLocationInfo::get_CountryCode method (tapi3if.h)

The get_CountryCode method gets the country/region code.

Syntax

HRESULT get_CountryCode(
  [out] long *plCountryCode
);

Parameters

[out] plCountryCode

Pointer to country/region code.

Return value

This method can return one of these values.

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

Remarks

The value that this method returns corresponds to the dwCountryCode member of TAPI 2's LINELOCATIONENTRY structure.

Requirements

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

See also

ITLocationInfo

LINELOCATIONENTRY

lineGetTranslateCaps