Previous: Function 000B - Get Descriptor To the Table of Content Next: Function 0100 - Allocate DOS Memory Block

- 7.2.11 -
PMODE/W MSDOS Extender
PMODE/W Supported DPMI INT 31h functions

Function 000C - Set Descriptor

PMODE/W API

This function Copies the contents of an 8 byte buffer into the descriptor for the specified selector.
In:
   AX     = 000ch
   BX     = selector
   ES:EDI = selector:offset of 8 byte buffer containing descriptor
Out:
   if successful:
     carry flag clear
   if failed:
     carry flag set
Notes:
The descriptors access rights/type word at offset 5 within the descriptor follows the same format and restrictions as the access rights/type parameter CX to the Set Descriptor Access Rights function (0009h).

Under DPMI 1.0/VCPI/XMS/raw, any segment register which contains the selector specified in register BX will be reloaded. DPMI 0.9 may do this, but it is not guaranteed.

We hope you have enough sense not to try to modify your current CS or SS descriptor or the descriptor of the buffer.


Previous: Function 000B - Get Descriptor To the Table of Content Next: Function 0100 - Allocate DOS Memory Block
Function 000B - Get Descriptor Table of Content Function 0100 - Allocate DOS Memory Block

- 7.2.11 -