ITTimeCollection::get_Item method

[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The get_Item method gets an item from the collection using an index.

Syntax

HRESULT get_Item(
  [in]  LONG   Index,
  [out] ITTime **pVal
);

Parameters

Index [in]

Index of the item to get.

pVal [out]

Pointer to ITTime desired interface.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_POINTER
The pVal parameter is not a valid pointer.
E_INVALIDARG
The Index parameter is not valid.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
E_FAIL
Unspecified error.
E_NOTIMPL
This method is not yet implemented.

Remarks

TAPI calls the AddRef method on the ITTime interface returned by ITTimeCollection::get_Item. The application must call Release on the ITTime interface to free resources associated with it.

Requirements

TAPI version
Requires TAPI 3.0 or later
Header
Sdpblb.h
Library
Uuid.lib
DLL
Sdpblb.dll

See also

ITTimeCollection

ITTime