Index   Commented   Search   About

IEnumXXXX::Clone

Creates another enumerator that contains the same enumeration state as the current one. Using this function, a client can record a particular point in the enumeration sequence, and then return to that point at a later time. The new enumerator has the same interface as the original one.

HRESULT Clone(

IEnum<ELT_T> ** ppenum

);

Parameter

ppenum

[out] On exit, contains the duplicate enumerator. If the function was unsuccessful, this parameter's value is undefined.

Return Values

E_OUTOFMEMORY

Out of memory.

E_INVALIDARG

Value of ppenum is invalid.

E_UNEXPECTED

An unexpected error occurred.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun