IEnumNetworks::Next method (netlistmgr.h)
The Next method gets the next specified number of elements in the enumeration sequence.
Syntax
HRESULT Next(
[in] ULONG celt,
[out] INetwork **rgelt,
[out] ULONG *pceltFetched
);
Parameters
[in] celt
Number of elements requested in the enumeration.
[out] rgelt
Pointer to the enumerated list of pointers returned by INetwork.
[out] pceltFetched
Pointer to the number of elements returned.
Return value
Returns S_OK if the method succeeds. Otherwise, the method returns one of the following values.
Return code | Description |
---|---|
|
The number of elements returned was not equal to celt. |
|
Insufficient memory exists to perform the operation. |
|
The ppElements parameter is not a valid pointer. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | netlistmgr.h |