Platform SDK: TAPI

ITForwardInformation::GetForwardType

Gets the forwarding mode.

HRESULT GetForwardType(
  long ForwardType,
  BSTR *ppDestinationAddress,
  BSTR *ppCallerAddress
);

Parameters

ForwardType
[in] Line forward mode.
ppDestinationAddress
[out] Pointer to BSTR representation of destination address.
ppCallerAddress
[out, retval] Pointer to BSTR representation of the call originator's address.

Return Values

Value Meaning
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

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

See Also

ITForwardInformation, ITAddress::CreateForwardInfoObject, ITAddress::Forward, ITAddress::get_CurrentForwardInfo, Terminal Object