Compartilhar via


INetCfgComponentBindings::MoveBefore method

Note   This method is deprecated and should not be used.

 

The MoveBefore method sets the order of two binding paths so one binding path comes before another reference binding path.

Syntax

HRESULT MoveBefore(
  [in] INetCfgBindingPath *pncbItemSrc,
  [in] INetCfgBindingPath *pncbItemDest
);

Parameters

  • pncbItemSrc [in]
    Pointer to the INetCfgBindingPath interface of the binding path to move.

  • pncbItemDest [in]
    Pointer to the INetCfgBindingPath interface of the reference binding path. MoveBefore places pncbItemSrc before pncbItemDest in the binding order. If this parameter is a NULL value, MoveBefore places pncbItemSrc at the beginning of the binding order.

Return value

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

Remarks

If the INetCfg interface for the current networking configuration was not granted the write lock, MoveBefore returns NETCFG_E_NO_WRITE_LOCK.

Requirements

Target platform

Desktop

Header

Netcfgx.h (include Netcfgx.h)

See also

INetCfg

INetCfgBindingPath

 

 

Send comments about this topic to Microsoft