DOS/32 Advanced DOS Extender - Programmer's Reference 2.15 - DPMI function 0101h - Deallocate DOS Memory Block Frees a memory block that was previously allocated with the Allocate DOS Memory Block DPMI function 0100h.
In: | AX = 0101h DX = selector of block to be freed
Out: | if successful: CF clear if function unsuccessful CF set AX = error code 0007h - memory control blocks damaged 0009h - incorrect memory segment specified 8022h - invalid selector
Notes: a) All descriptors allocated for the memory block are automatically freed by this function, and are no longer valid after this function returns. b) Under DOS/32 Advanced DPMI and DPMI 1.0 hosts, any segment registers which contain a selector being freed are zeroed by this function. Copyright © DOS/32 Advanced Team 1996-2002 All Rights Reserved