IEnumMedia::Clone 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 Clone method creates another enumerator that contains the same enumeration state as the current one.
Syntax
HRESULT Clone(
[out] IEnumMedia **ppEnum
);
Parameters
-
ppEnum [out]
-
Pointer to the new IEnumMedia object.
Return value
This method can return one of these values.
Value | Meaning |
---|---|
|
Method succeeded. |
|
The ppEnum parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
|
Failed for unknown reasons. |
Remarks
TAPI calls the AddRef method on the IEnumMedia interface returned by IEnumMedia::Clone. The application must call Release on the IEnumMedia interface to free resources associated with it.
Requirements
Requirement | Value |
---|---|
TAPI version |
Requires TAPI 3.0 or later |
Header |
|
Library |
|
DLL |
|