- 7.2.11. -
Table of Contents
7. PMODE/W MSDOS Extender
7.2. PMODE/W Supported DPMI INT 31h functions
7.2.11. Function 000C - Set Descriptor
7.2.11. 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.
- 7.2.11. -