INT 31H 000eH: Query Multiple Descriptors
Compatibility: DPMI 0.9+
Expects: AX 000eH
CX number of descriptors to copy
ES:DI (or ES:EDI) sel:off of buffer describing which selectors you
want and space to receive data
──────────────────────────────────────────────────────────────────
Returns: CF NC (clear) if successful;
else AX = DPMI Error Code
CX = number of entries copied
ES:DI (or ES:EDI) buffer contains selectors and LDT entries
──────────────────────────────────────────────────────────────────
Info: This copies a series of LDT entries into a local buffer. You
must pre-fill the buffer with the desired selectors, with 8-byte
gaps between each:
The buffer is be formatted as:
Offset Size Contents
▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+0 2 wSel1 set by caller
+2 8 rDesc1 filled by host
+0aH 2 wSel2 set by caller
+0cH 8 rDesc2 filled by host
.
:
Note: If the call fails due to an invalid selector, the host will
return CX as the number of valid selectors that it found before
encountering the bad apple.
See Also: DPMI API
INT 2fH: Multiplex Interrupt
DOS Functions
-♦-