INtime SDK Help
lncNicAddr4Move

Moves an IPv4 address for a NIC on a node to another place in the list of IPv4 addresses for that NIC.

DWORD lncNicAddr4Move( 
LPCTSTR szNode,
DWORD dwNic,
DWORD dwAddr,
DWORD dwNew);

Parameters

szNode
(in) the name of the local node.
dwNic
(in) the number of the NIC.
dwAddr
(in) the number of the address within the NIC.
dwNew
(in) the number in front of which to insert the address: 0 <= number <= number of addresses. If dwNew is zero, the address is moved to the front of the list; if dwNew >= number of addresses, the address is moved to the end of the list.

Return values

Zero for success or an error code on failure.

Errors

LNCE_PAR_NFND
the parameter number is invalid
LNCE_READERR
there is a problem reading the configuration file
LNCE_SECTION_NFND
there is no NIC with the number dwNic.

Requirements

Versions Defined in Include Link to
INtime 5.2 intime/nt/include/lnc.h lnc.h lnc.lib
See Also

LNC