Index   Commented   Search   About

IEnumXXXX::Next

Retrieves the next celt items in the enumeration sequence. If there are fewer than the requested number of elements left in the sequence, it retrieves the remaining elements. The number of elements actually retrieved is returned through pceltFetched (unless the caller passed in NULL for that parameter).

HRESULT Next(

ULONG celt,

ELT_T[ ] rgelt,

ULONG * pceltFetched

);

Parameters

celt

[in]The number of elements being requested.

rgelt

[out]Receives an array of size celt (or larger) of the elements to be returned. The type of this parameter depends on the item being enumerated.

pceltFetched

[in, out]On return, contains the number of elements actually returned in rgelt. Caller can pass in NULL if celt is one.

Return Value

S_OK if the number of elements returned is celt; S_FALSE otherwise.

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