IEnumAddress::Clone method (tapi3if.h)
The Clone method creates another enumerator that contains the same enumeration state as the current one. This method is hidden from Visual Basic and scripting languages.
Syntax
HRESULT Clone(
[out] IEnumAddress **ppEnum
);
Parameters
[out] ppEnum
Pointer to new IEnumAddress interface.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
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 IEnumAddress interface returned by this method. The application must call the Release method on the IEnumAddress interface to free resources associated with it.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |