ITForwardInformation2::SetForwardType2 method (tapi3if.h)
The SetForwardType2 method sets the current forwarding mode, specified by caller address.
Syntax
HRESULT SetForwardType2(
[in] long ForwardType,
[in] BSTR pDestAddress,
[in] long DestAddressType,
[in] BSTR pCallerAddress,
[in] long CallerAddressType
);
Parameters
[in] ForwardType
Line forward type to be set.
[in] pDestAddress
Pointer to the BSTR representation of the destination address.
[in] DestAddressType
Address type of destination.
[in] pCallerAddress
Pointer to the BSTR representation of the caller address.
[in] CallerAddressType
Address type of caller.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The ForwardType, DestAddressType, or CallerAddressType is invalid. |
|
Insufficient memory exists to perform the operation. |
|
The pDestAddress or pCallerAddress parameter is not a valid pointer. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h |
Library | Uuid.lib |
DLL | Tapi3.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for