ITDirectoryObject::get_DialableAddrs 方法 (rend.h)

[Rendezvous IP Telephony Conferencing controls and interface not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. RTC 用戶端 API 提供類似的功能。]

get_DialableAddrs方法會從目錄中取得指定型別的所有可撥號位址。 這個方法會執行與 EnumerateDialableAddrs 相同的函式,但會由 Visual Basic 等指令碼語言使用。

語法

HRESULT get_DialableAddrs(
  [in]  long    dwAddressType,
  [out] VARIANT *pVariant
);

參數

[in] dwAddressType

網址類別型的指標。

[out] pVariant

VARIANT 的指標,其中包含BSTR字串的ITCollection,每個字串都包含可撥號位址。

傳回值

這個方法可以傳回下列其中一個值。

意義
S_OK
方法成功。
E_POINTER
不正確指標。
ERROR
方法失敗。

備註

TAPI 會在ITDirectoryObject::get_DialableAddrs所傳回的ITAddress介面上呼叫AddRef方法。 應用程式必須在ITAddress介面上呼叫Release,以釋放與其相關聯的資源。

需求

   
目標平台 Windows
標頭 rend.h
Dll Rend.dll

另請參閱

ITAddress

ITDirectoryObject