INtime SDK Help
lncKerAddArea

Add a new memory area to a node.

DWORD lncKerAddArea(
LPCSTR szNode,
DWORD dwAreaLoc,
DWORD dwAreaType,
DWORD dwAreaSizeMB
);

Parameters

szNode
(in) the name of the Node where the area is to be added
dwAreaLoc
(in) DWORD value that contains the location of the area. Possible values are:
1 = MEMLOC_LOW Allocate area from non-paged pool below 4 GB
2 = MEMLOC_HIGH Allocate area from non-paged pool above 4 GB
0 = MEMLOC_ANY Allocate area from any non-paged pool location
3 = MEMLOC_EXTERNAL Allocate area from memory excluded from Windows
dwAreaType
(in) a DWORD value that contains the memory area type. Possible values include:
MEMTYPE_NODEOTHER Create area for normal use (managed by the kernel memory manager)
MEMTYPE_UNMANAGED Create area for unmanaged use.
dwAreaSize
(in) a DWORD value containing the size of the area to be created, in MBytes. The value must be at least 8 Mbytes.

Return values

Zero for success or an error code on failure.

Errors

LNCE_NOMORE
there are no more system parameters.

Requirements

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

LNC