en:docs:win16:api:kernel:localinit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:win16:api:kernel:localinit [2026/02/08 16:07] prokusheven:docs:win16:api:kernel:localinit [2026/02/25 08:35] (current) prokushev
Line 27: Line 27:
   * The function sets up a local heap manager within the provided segment, enabling local memory allocation functions to operate within that segment.   * The function sets up a local heap manager within the provided segment, enabling local memory allocation functions to operate within that segment.
   * Applications typically call LocalInit during initialization of a data segment or a dynamically allocated memory block intended for use as a local heap.   * Applications typically call LocalInit during initialization of a data segment or a dynamically allocated memory block intended for use as a local heap.
 +  * First 16 bytes of segment used as system data area.
  
 ===== Example Code ===== ===== Example Code =====
Line 49: Line 50:
  
 ===== See also ===== ===== See also =====
 +
 +  * [[Local Heap|DGROUP, Local Heap and Atom Table]]
   * [[en:docs:win16:api:kernel:LocalAlloc|LocalAlloc]] - Allocates memory from the local heap.   * [[en:docs:win16:api:kernel:LocalAlloc|LocalAlloc]] - Allocates memory from the local heap.
   * [[en:docs:win16:api:kernel:LocalFree|LocalFree]] - Frees memory allocated from the local heap.   * [[en:docs:win16:api:kernel:LocalFree|LocalFree]] - Frees memory allocated from the local heap.