ITAddress::CreateForwardInfoObject 方法 (tapi3if.h)
CreateForwardInfoObject 方法创建转发信息对象并返回 ITForwardInformation 接口指针。 此接口公开的方法允许应用程序控制呼叫转发方式的各个方面,例如,内部调用的处理方式是否不同于外部调用。
语法
HRESULT CreateForwardInfoObject(
[out] ITForwardInformation **ppForwardInfo
);
参数
[out] ppForwardInfo
指向 ITForwardInformation 接口的 指针。
返回值
此方法可以返回其中一个值。
值 | 含义 |
---|---|
|
方法成功。 |
|
内存不足,无法执行操作。 |
|
ppForwardInfo 参数不是有效的指针。 |
注解
应用程序必须在新创建的 ITForwardInformation 对象上设置信息,然后才能使用该对象。
TAPI 在 ITAddress::CreateForwardInfoObject 返回的 ITForwardInformation 接口上调用 AddRef 方法。 应用程序必须在 ITForwardInformation 接口上调用 Release,以释放与之关联的资源。
要求
目标平台 | Windows |
标头 | tapi3if.h (包括 Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |