Edits a parameter in a specific node section.
DWORD lncSysCtlSetPar(
LPCSTR szNode,
LPCSTR szPar,
LPVOID pszVar);
Parameters
szNode
- (in) node name
szPar
- (in) "arbitrary-parameter-entry"
pszVal
- (in) a pointer to a string value.
If an empty "" value is used, the function will delete an entry if it exists, or it will be Ignored.
Other than an empty string "" value, a function will replace a value if it exists, otherwise a new entry is appended to the file.
Return values
Zero for success or an error code on failure.
Errors
- 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