ITLocationInfo::get_LongDistanceAccessCode method (tapi3if.h)

The get_LongDistanceAccessCode method gets the code to access long distance.

Syntax

HRESULT get_LongDistanceAccessCode(
  [out] BSTR *ppCode
);

Parameters

[out] ppCode

Pointer to BSTR representation of long distance access code.

Return value

This method can return one of these values.

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

Remarks

The application must use SysFreeString to free the memory allocated for the ppCode parameter.

The value that this method returns corresponds to the dwLongDistanceAccessCodeSize and dwLongDistanceAccessCodeOffset members of TAPI 2's LINELOCATIONENTRY structure.

Requirements

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

See also

ITLocationInfo

LINELOCATIONENTRY

lineGetTranslateCaps