Gets the multi string value of a parameter and returns its value to the caller.
DWORD lncGetParameterMultiString(
LPCSTR szNode,
DWORD dwSection,
DWORD dwParameter,
LPSTR pszVal,
LPDWORD pdwSize);
szNode
dwSection
dwParameter
pszVal
pdwSize
Zero for success or an error code on failure.
If the size is not enough for the value, the error code LNCE_PARSIZE
is returned and the DWORD pointed to by the pdwSize parameter is set to the number of bytes required to store the value.
A multi string value is stored as one or more character strings, each terminated by a zero character and an extra zero character at the end.
LNCE_NOACCESS, LNCE_PARTYPE, LNCE_PARSIZE, LNCE_READERR, LNCE_SECTION_NFND, LNCE_PAR_NFND, LNCE_NODE_NFND
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 5.2 | intime/nt/include/lnc.h | lnc.h | lnc.lib |