INtime SDK Help
lncKerSetAreaPar

Gets the value of a Kernel memory area parameter

DWORD lncKerSetAreaPar(
DWORD idArea,
DWORD dwPar,
DWORD dwType,
LPCVOID pVal);

Parameters

idArea
(in) the identifier of the area (from lncKerEnumArea).
dwPar
(in) the number of the area parameter (see parameter values).
dwType
(in) a DWORD that is set to the parameter type (REG_DWORD, REG_SZ or REG_MULTI_SZ).
pVal
(in) pointer to a DWORD pointer or to a string pointer that is set to the address of the value.

Return values

Zero for success or an error code on failure.

Remarks

The pointer pointed to by pVal is set to either the address of a DWORD containing the value (if the parameter type is REG_DWORD) or is set to a string pointer (for REG_SZ and REG_MULTI_SZ).

Valid parameters for this call are LNCM_SIZEMB, LNCM_LOC, LNCM_FLAGS and LNCM_ORDER.

Errors

LNCE_NODE_NFND
there is no node with the given name
LNCE_PAR_NFND
the parameter number is invalid
LNCE_NUMPROC
(for LNCE_NINTIMECORES) the NUMPROC boot parameter is invalid

Requirements

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

LNC