IEnumMedia::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] ITMedia **pVal,
[out] ULONG *pceltFetched
);
Parameters
-
celt [in]
-
Number of elements requested.
-
pVal [out]
-
Pointer to the ITMedia interface.
-
pceltFetched [out]
-
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 |
---|---|
|
Method returned celt number of elements. |
|
Number of elements remaining was less than celt. |
|
The pVal parameter is not a valid pointer. |
Remarks
TAPI calls the AddRef method on the ITMedia interface returned by IEnumMedia::Next. The application must call Release on the ITMedia interface to free resources associated with it.
Requirements
Requirement | Value |
---|---|
TAPI version |
Requires TAPI 3.0 or later |
Header |
|
Library |
|
DLL |
|