The Offset of the memory pool that contains the block that should be freed. The offset of the memory block to be freed. It's important that this is equal to an offset returned by a previous allocation using DosSubAllocMem . The size in bytes of the memory block that is to be freed. Usage Explanation DosSubFreeMem is used to free a memory block that was allocated with DosSubAllocMem .
Size is the size in bytes of the memory block to be freed.
It is supposed to be a multiple of 8 bytes, and if not it is rounded up. The maximum value for Size is the size of the memory pool, allocated with DosSubSetMem , minus 64 bytes. The maximum value for Size is the size of the memory pool, allocated with DosSubSetMem , minus 64 bytes.