INtime SDK Help
lncNicAdd

Adds a NIC to the node’s network.

DWORD lncNicAdd( 
LPCTSTR szNode,
LPCTSTR szShort,
DWORD dwInst);

Parameters

szNode
(in) the name of the local node.
szShort
(in) the short name of the NIC type (without instance number).
dwInst
(in) the instance of the NIC (zero being the first one).

Return values

Zero for success or an error code on failure.

Remarks

Remarks go here.

Errors

LNCE_BADVAL
instance exceeds 39
LNCE_EXIST
the combination of short name and instance already exists for this node
LNCE_READERR
there is a problem reading the configuration file
LNCE_SECTION_NFND
the short name is not one of the supported NICs

Requirements

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

LNC