IEnumDirectoryObject::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] ITDirectoryObject **pVal,
  [out] ULONG             *pcFetched
);

Parameters

[in] celt

Number of elements requested.

[out] pVal

Pointer to the ITDirectoryObject 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 pVal parameter is not a valid pointer.

Remarks

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

Requirements

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

See also

IEnumDirectoryObject