Partager via


INetCfgComponentBindings::EnumBindingPaths method

The EnumBindingPaths method retrieves an enumeration of a collection of binding paths that contain a network component.

Syntax

HRESULT EnumBindingPaths(
  [in]            DWORD                  dwFlags,
  [out, optional] IEnumNetCfgBindingPath **ppenumBinding
);

Parameters

  • dwFlags [in]
    Specifies that the binding paths in the retrieved collection either contain or are below a network component. This value can be one of the following types from the ENUM_BINDING_PATHS_FLAGS enumeration:

    Value Description

    EBP_ABOVE

    Specifies that the binding paths contain a network component. Each path can either start at the component or contain the component somewhere within the path.

    EBP_BELOW

    Specifies that the binding paths start at a network component.

     

  • ppenumBinding [out, optional]
    Pointer to a buffer that receives a pointer to the IEnumNetCfgBindingPath interface. IEnumNetCfgBindingPath enumerates the INetCfgBindingPath interfaces for binding paths that contain a network component.

Return value

Returns zero (S_OK) if successful; otherwise, returns NETCFG_* codes that are defined in Netcfgx.h.

Remarks

The IEnumNetCfgBindingPath interface is a standard COM enumerator. To locate more information about COM enumerators and their methods, see the IEnum XXXX topic in the Microsoft Windows SDK.

Requirements

Target platform

Desktop

Header

Netcfgx.h (include Netcfgx.h)

See also

IEnumNetCfgBindingPath

INetCfgBindingPath

 

 

Send comments about this topic to Microsoft