- 4.28.2.2. -
Table of Contents
4. Standard Units
4.28. DPMI - DOS Protected Mode Interface support unit
4.28.2. DPMI Unit Procedures and Functions
4.28.2.2. AllocDosMemoryBlock
4.28.2.2. AllocDosMemoryBlock
Targets: MS-DOS only
DPMI Unit
This function will allocate a block of memory from the DOS free memory pool.
It returns both the real mode segment and one or more descriptors that can
be used by protected mode applications to access the block.
Declaration:
function AllocDOSmemoryBlock(SizeInBytes: DWord): DWord;
Remarks:
Returns paragraph-segment value in its high-order word and a selector in
its low-order word if successful. Otherwise returns zero.
See also:
FreeDosMemoryBlock
ResizeDosMemoryBlock
- 4.28.2.2. -