BOOL LocalInit(uSegment, uStartAddr, uEndAddr) | |||||
UINT uSegment; | /* segment to contain local heap | */ | |||
UINT uStartAddr; | /* starting address for heap | */ | |||
UINT uEndAddr; | /* ending address for heap | */ |
The LocalInit function initializes a local heap in the specified segment.
uSegment
Identifies the segment that is to contain the local heap.
uStartAddr
Specifies the starting address of the local heap within the segment.
uEndAddr
Specifies the ending address of the local heap within the segment.
The return value is nonzero if the function is successful. Otherwise, it is zero.
The first 16 bytes of the segment containing a local heap must be reserved for use by the system.