Previous: CreateCodeAlias function To the Table of Content Next: CreateDataAlias function

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

CreateCodeDescriptor function

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


Previous: CreateCodeAlias function To the Table of Content Next: CreateDataAlias function
CreateCodeAlias function Table of Content CreateDataAlias function

- 4.28.2.9 -