Compartilhar via


INetCfgComponentBindings::MoveAfter method

Note   This method is deprecated and should not be used.

 

The MoveAfter method sets the order of two binding paths so one binding path follows another reference binding path.

Syntax

HRESULT MoveAfter(
  [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. MoveAfter places pncbItemSrc after pncbItemDest in the binding order. If this parameter is a NULL value, MoveAfter places pncbItemSrc at the end 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, MoveAfter 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