IEnumTime::Next 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 Next method gets the next specified number of elements in the enumeration sequence.

Syntax

HRESULT Next(
  [in]  ULONG  celt,
  [out] ITTime **pVal,
  [out] ULONG  *pceltFetched
);

Parameters

celt [in]

Number of elements requested.

pVal [out]

Pointer to the ITTime interface.

pceltFetched [out]

Pointer to the number of elements actually supplied. May be NULL if celt is 1.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method returned celt number of elements.
S_FALSE
Number of elements remaining was less than celt.
E_POINTER
The pVal parameter is not a valid pointer.

Remarks

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

Requirements

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

See also

IEnumTime