ITForwardInformation::GetForwardType method (tapi3if.h)

The GetForwardType method gets the forwarding mode.

Syntax

HRESULT GetForwardType(
  [in]  long ForwardType,
  [out] BSTR *ppDestinationAddress,
  [out] BSTR *ppCallerAddress
);

Parameters

[in] ForwardType

Line forward mode.

[out] ppDestinationAddress

Pointer to BSTR representation of destination address.

[out] ppCallerAddress

Pointer to BSTR representation of the call originator's address.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_INVALIDARG
The ppDestAddress or ppCallerAddress 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 ppDestinationAddress and ppCallerAddress parameters.

Requirements

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

See also

ITAddress::CreateForwardInfoObject

ITAddress::Forward

ITAddress::get_CurrentForwardInfo

ITForwardInformation

ITForwardInformation2::GetForwardType

Terminal Object