INtime SDK Help
lncNetRoute4SetPar

Sets a parameter for an IPv4 route on a node.

DWORD lncNetRoute4SetPar( 
LPCTSTR szNode,
DWORD dwRoute4,
DWORD dwPar,
DWORD dwType,
LPVOID pVal);

Parameters

szNode
(in) the name of the local node.
dwRoute4
(in) the number of the IPv4 route.
dwPar
(in) the number of the parameter (see parameter values).
dwType
(in) the type of the property: REG_DWORD, REG_SZ or REG_MULTI_SZ.
dwVal
(in) pointer to the value in the type as defined by dwType.

Return values

Zero for success or an error code on failure.

Errors

LNCE_PAR_NFND
the parameter number is invalid
LNCE_PARTYPE
the parameter exists and has a type that differs from the type in dwType
LNCE_READERR
the configuration file cannot be read
LNCE_SECTION_NFND
there is no IPv4 route with the number dwRoute4.

Requirements

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

LNC