ICompactServerEnumUrlGroup::Next method
Retrieves a specified number of items in the enumeration sequence. If there are fewer than the requested number of elements left in the sequence, it retrieves the remaining elements.
Syntax
HRESULT Next(
[in] ULONG celt,
[out] ICompactServerUrlGroup **rgelt,
[in, out, unique] ULONG *pceltFetched
);
Parameters
celt [in]
Specifies the number of elements requested.rgelt [out]
An array of ICompactServerUrlGroup objects. You must release each object in rgelt when done.pceltFetched [in, out]
Specifies the number of elements returned in rgelt. You can set pceltFetched to NULL if celt is 1. Otherwise, initialize the value of pceltFetched to 0 before calling this method.
Return value
The most common HRESULT values are the following:
Return code | Description |
---|---|
S_OK | Successfully returned the number of requested elements. |
S_FALSE | Returned fewer than the number of requested elements. |
Requirements
Minimum supported client |
None supported [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Redistributable |
Windows Management Framework on Windows Server 2008 with SP2 |
Header |
Managementserver.h |
IDL |
Managementserver.idl |
Library |
Managementserver.lib |
See also
Send comments about this topic to Microsoft
Build date: 11/12/2012