Previous: 7.2.2. Function 0001 - Free Descriptor To the Table of Contents Next: 7.2.4. Function 0003 - Get Selector Increment Value
7.2.2. Function 0001 - Free Descriptor Table of Contents 7.2.4. Function 0003 - Get Selector Increment Value

- 7.2.3. -
Table of Contents
7. PMODE/W MSDOS Extender
7.2. PMODE/W Supported DPMI INT 31h functions
7.2.3. Function 0002 - Segment to Descriptor


7.2.3. Function 0002 - Segment to Descriptor


PMODE/W API

This function Converts a real mode segment into a protected mode descriptor.
In:
   AX =    0002h
   BX =    real mode segment
Out:
   if successful:
     carry flag clear
     AX =  selector
   if failed:
     carry flag set
Notes:
Multiple calls for the same real mode segment return the same selector. The returned descriptor should never be modified or freed.


Previous: 7.2.2. Function 0001 - Free Descriptor To the Table of Contents Next: 7.2.4. Function 0003 - Get Selector Increment Value
7.2.2. Function 0001 - Free Descriptor Table of Contents 7.2.4. Function 0003 - Get Selector Increment Value

- 7.2.3. -