- 4.28.2.9. -
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.9. CreateCodeDescriptor
4.28.2.9. CreateCodeDescriptor
Targets: MS-DOS only
DPMI Unit
This function is used to allocate one code descriptor from the task's
Local Descriptor Table (LDT) with specified Base
and Limit.
Declaration:
function CreateCodeDescriptor(Base, Limit: DWord): Word;
Remarks:
Returns code selector if successful. Otherwise returns zero.
See also:
FreeDescriptor
- 4.28.2.9. -