Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Network Devices
Reference
Notify Objects
 INetCfgComponentBindings::MoveBefor...
Windows Driver Kit: Network Devices and Protocols
INetCfgComponentBindings::MoveBefore

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

HRESULT
  MoveBefore(
    IN INetCfgBindingPath  *pncbItemSrc,  
    IN INetCfgBindingPath  *pncbItemDest  
    );

Parameters

pncbItemSrc
Pointer to the INetCfgBindingPath interface of the binding path to move.
pncbItemDest
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.

Comments

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

Requirements

Headers: Defined in Netcfgx.h. Include Netcfgx.h.

See Also

INetCfg, INetCfgBindingPath


Send feedback on this topic
Built on October 01, 2009
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker