INtime SDK Help
lncSysCtlEnumPar

Enumerates parameters from a specific node section.

DWORD lncSysCtlEnumPar(
LPCSTR szNode,
    DWORD      iPar,
LPCVOID* ppszPar,
LPCVOID* ppszVar);

Parameters

szNode
(in) node name
iPar
(in) an entry number in a sysctrl.cfg file, excludes comment or blank line entry. Valid entry number is 1 to n entry in the file.
ppszPar
(out) pointer to a buffer to receive a parameter for an entry number iPar.
ppszVal
(out) a pointer to a string to receive a value of a szPar parameter.

Return values

Zero
for success.
LNC_PAR_NFND
iPar entry is not found in a sysctrl.cfg file.
LNC_PARSIZE
the size of the received buffer is not big enough or buffer is NULL.
LNCE_READERR
failed to open or read the sysctl.cfg file for the specified node

Requirements

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

LNC