Compartilhar via


IEnumNetCfgBindingPath::Next method

The Next method retrieves the next specified number of INetCfgBindingPath interfaces in the enumeration sequence.

Syntax

HRESULT Next(
  [in]  ULONG              celt,
  [out] INetCfgBindingPath **ppElements,
  [out] ULONG              *pceltFetched
);

Parameters

  • celt [in]
    Specifies the number of INetCfgBindingPath interfaces requested.

  • ppElements [out]
    Pointer to a buffer that receives a pointer to the requested INetCfgBindingPath interfaces.

  • pceltFetched [out]
    Pointer to a variable that receives the number of INetCfgBindingPath 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

INetCfgBindingPath

 

 

Send comments about this topic to Microsoft