IEnumNetCfgBindingInterface::Next method
The Next method retrieves the next specified number of INetCfgBindingInterface interfaces in the enumeration sequence.
Syntax
HRESULT Next(
[in] ULONG celt,
[out] INetCfgBindingInterface **ppElements,
[out, optional] ULONG *pceltFetched
);
Parameters
celt [in]
Specifies the number of INetCfgBindingInterface interfaces requested.ppElements [out]
Pointer to a buffer that receives a pointer to the requested INetCfgBindingInterface interfaces.pceltFetched [out, optional]
Pointer to a variable that receives the number of INetCfgBindingInterface interfaces actually supplied. May be NULL if celt is 1.
Return value
Returns one of the following values:
Return code | Description |
---|---|
S_OK | The method returned celt number of elements. |
S_FALSE | The number of elements remaining in the sequence was less than celt. |
E_POINTER | The ppElements parameter is not a valid pointer. |
E_OUTOFMEMORY | Insufficient memory exists to perform the operation. |
Requirements
Target platform |
Desktop |
Header |
Netcfgx.h (include Netcfgx.h) |
See also