|
ResMemLinear32 Resize a previously allocated block of memory without a selector. |
Inputs: AX = 0ff13h
ESI = Linear address of block to resize.
ECX = Size of block required in bytes.
Outputs: Carry set on error else,
ESI = New linear address of block.
Errors: See ResMemLinear
Notes: If the memory block cannot be expanded to the desired size, and a free block of sufficient size exists, the existing memory is copied to the free block and released. The new block is allocated in place of the old.
|
ResMemNear Resize a previously allocated application relative block of memory. |
Inputs: AX = 0ff17h
EBX = Size of block required in bytes.
ESI = application relative linear address of block to resize
Outputs: Carry set on error else,
ESI = New application relative linear address of block.
Errors: If the address passed in ESI is not a valid memory block or there is not enough memory available when expanding the block this function returns carry set.
Notes: If the memory block cannot be expanded to the desired size, and a free block of sufficient size exists, the existing memory is copied to the free block and released. The new block is allocated in place of the old.
Go back to Devore Software & Consulting home page