ITForwardInformation2::GetForwardType2 method (tapi3if.h)
The GetForwardType2 method gets the current forwarding mode, specified by caller address.
Syntax
HRESULT GetForwardType2(
[in] long ForwardType,
[out] BSTR *ppDestinationAddress,
[out] long *pDestAddressType,
[out] BSTR *ppCallerAddress,
[out] long *pCallerAddressType
);
Parameters
[in] ForwardType
Line forward type to be retrieved.
[out] ppDestinationAddress
Pointer to the BSTR representation of the destination address.
[out] pDestAddressType
Address type of the destination.
[out] ppCallerAddress
Pointer to the BSTR representation of the caller address.
[out] pCallerAddressType
Address type of the caller.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The ForwardType, pDestAddressType, or pCallerAddressType parameter is invalid. |
|
Insufficient memory exists to perform the operation. |
|
The ppDestinationAddress, pDestAddressType, pCallerAddressType, or ppCallerAddress 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