IEnumDirectory::Next method (rend.h)

[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] ITDirectory **ppElements,
  [out] ULONG       *pcFetched
);

Parameters

[in] celt

Number of elements requested.

[out] ppElements

Pointer to the ITDirectory interface.

[out] pcFetched

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

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 ppElements parameter is not a valid pointer.

Remarks

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

Requirements

Requirement Value
Target Platform Windows
Header rend.h
DLL Rend.dll

See also

IEnumDirectory