ITLocationInfo::get_PermanentLocationID 方法 (tapi3if.h)

get_PermanentLocationID 方法获取永久位置标识符。

语法

HRESULT get_PermanentLocationID(
  [out] long *plLocationID
);

参数

[out] plLocationID

指向永久位置标识符的指针。

返回值

此方法可以返回其中一个值。

返回代码 说明
S_OK
方法成功。
E_POINTER
plLocationID 参数不是有效的指针。
E_OUTOFMEMORY
内存不足,无法执行操作。

注解

此方法返回的值对应于 TAPI 2 的 LINELOCATIONENTRY 结构的 dwPermanentLocationID 成员。

要求

要求
目标平台 Windows
标头 tapi3if.h (包括 Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

另请参阅

ITLocationInfo

LINELOCATIONENTRY

lineGetTranslateCaps