Previous: AllocateDescriptors function To the Table of Content Next: AllocRealModeCallBack function

- 4.28.2.2 -
Standard Units
DPMI Unit
DPMI Unit Procedures and Functions

AllocDosMemoryBlock function

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


Previous: AllocateDescriptors function To the Table of Content Next: AllocRealModeCallBack function
AllocateDescriptors function Table of Content AllocRealModeCallBack function

- 4.28.2.2 -