INtime SDK Help
lncAdvSetProp

Sets a parameter property in an advanced section.

DWORD lncAdvSetProp( 
LPCTSTR szNode,
LPCTSTR szSection,
LPCTSTR szPar,
DWORD iProp,
DWORD dwType,
LPVOID pVal);

Parameters

szNode
(in) the name of the local node.
szSection
(in) the name of the section containing the parameter.
szPar
(in) the name of the parameter.
iProp
(in) the property number (see Advanced Property numbers).
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_NODE_NFND
there is no node with the given name
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_PROP_NFND
the property number is invalid
LNCE_SECTION_NFND
there is no section with the given name

Requirements

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

LNC