ITTimeCollection::get_EnumerationIf 方法

[ 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_EnumerationIf方法會傳回列舉ITTimeIEnumTime列舉介面。

語法

HRESULT get_EnumerationIf(
  [out] IEnumTime **pVal
);

參數

pVal [out]

IEnumTime介面的指標。

傳回值

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

意義
S_OK
方法成功。
E_POINTER
pVal參數不是有效的指標。
E_OUTOFMEMORY
記憶體不足,無法執行作業。
E_FAIL
未指定的錯誤。
E_NOTIMPL
尚未實作這個方法。

備註

這個方法可與 get__NewEnum 交換,不同之處在于它會傳回 IEnumTime ,而不是 IUnknown

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

規格需求

需求
TAPI 版本
需要 TAPI 3.0 或更新版本
標頭
Sdpblb.h
程式庫
Uuid.lib
DLL
Sdpblb.dll

另請參閱

IEnumTime

ITTimeCollection

ITTime