en:docs:win16:api:kernel:localrealloc

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:localrealloc [2026/03/04 04:49] prokusheven:docs:win16:api:kernel:localrealloc [2026/03/04 04:51] (current) – [Parameters] prokushev
Line 30: Line 30:
  
 ^ Flag ^ Description ^ ^ Flag ^ Description ^
-| LMEM_MOVEABLE | Behavior depends on the value of uBytes :\+| LMEM_MOVEABLE | Behavior depends on the value of uBytes |
  
 If uBytes is zero: Discards a previously movable and discardable memory block. The function fails if the object's lock count is not zero or the block is not movable and discardable. The handle remains valid.\ If uBytes is zero: Discards a previously movable and discardable memory block. The function fails if the object's lock count is not zero or the block is not movable and discardable. The handle remains valid.\
Line 37: Line 37:
 ^ Flag ^ Description ^ ^ Flag ^ Description ^
 | LMEM_ZEROINIT | If the memory object is growing in size, the contents of the additional memory are initialized to zero . | | LMEM_ZEROINIT | If the memory object is growing in size, the contents of the additional memory are initialized to zero . |
-| LMEM_NOCOMPACT | Prevents memory from being compacted or discarded to satisfy the allocation request. This flag is provided only for compatibility with 16-bit Windows and is ignored in Win32 . | +| LMEM_NOCOMPACT | Prevents memory from being compacted or discarded to satisfy the allocation request. | 
-| LMEM_NODISCARD | Prevents discardable blocks from being discarded to satisfy the allocation request. This flag is provided only for compatibility with 16-bit Windows and is ignored in Win32 . |+| LMEM_NODISCARD | Prevents discardable blocks from being discarded to satisfy the allocation request. |
  
 ===== Return Value ===== ===== Return Value =====