INetCfgComponentBindings::IsBindableTo method

The IsBindableTo method verifies whether at least one binding path exists between a network component and another specified network component.

Syntax

HRESULT IsBindableTo(
  [in] INetCfgComponent *pnccItem
);

Parameters

  • pnccItem [in]
    Pointer to the INetCfgComponent interface for the network component that IsBindableTo uses to verify whether any binding paths exist.

Return value

Returns zero (S_OK) if successful, indicating that at least one binding path exists and, therefore, can bind a network component to another specified network component. Returns S_FALSE if no binding paths exist. Otherwise, returns NETCFG_* codes that are defined in Netcfgx.h.

Remarks

The IsBindableTo method verifies whether a binding path exists, but not whether the binding path is active or inactive.

Requirements

Target platform

Desktop

Header

Netcfgx.h (include Netcfgx.h, Netcfgx.h, or Netcfgx.h)

See also

INetCfgComponent

 

 

Send comments about this topic to Microsoft