INtime SDK Help
lncAdvAddPar

Adds a parameter to a section in the set of advanced sections.

DWORD lncAdvAddPar( 
LPCTSTR szNode,
LPCTSTR szSection,
LPCTSTR szPar,
DWORD dwType,
LPVOID pVal,
LPVOID pDefault,
LPCTSTR szDescr);

Parameters

szNode
(in) the name of the local node.
szSection
(in) the name of the section to be added.
szPar
(in) the name of the parameter to be added
dwType
(in) the type of the parameter: REG_DWORD, REG_MULTI_SZ or REG_SZ.
pVal
(in) pointer to the value as defined by dType.
pDefault
(in) pointer to the default value as defined by dwType; may be NULL.
szDescr
(in) description text; may be NULL.

Return values

Zero for success or an error code on failure.

Remarks

Remarks go here.

Errors

LNCE_NODE_NFND
there is no node with the given name
LNCE_SECTION_NFND
there is no section with the given name
LNCE_EXIST
there is already a section with that name

Requirements

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

LNC