IEnumParticipant::Next method
[Next is 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. This method is hidden from Visual Basic and scripting languages.
Syntax
HRESULT Next(
[in] ULONG celt,
[out] ITParticipant **ppElements,
[out] ULONG *pceltFetched
);
Parameters
-
celt [in]
-
Number of elements requested.
-
ppElements [out]
-
Pointer to ITAgentHandler interfaces.
-
pceltFetched [out]
-
Pointer to number of elements actually supplied. May be NULL if celt is one.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method returned celt number of elements. |
|
Number of elements remaining was less than celt. |
|
The ppElements parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
Remarks
TAPI calls the AddRef method on the ITAgentHandler interface returned by IEnumParticipant::Next. The application must call Release on the ITAgentHandler interface to free resources associated with it.
Requirements
Requirement | Value |
---|---|
TAPI version |
Requires TAPI 3.0 or later |
Header |
|
Library |
|
DLL |
|