DOS/32 Advanced DOS Extender - Programmer's Reference


2.12 - DPMI function 000Eh - Get Multiple Descriptors

Copies one or more descriptor table entries into a client buffer.

 

In:

AX = 000Eh
CX = number of descriptors to copy
ES:EDI= selector:offset of a buffer in the following format:

 Offset  Length  Contents
 00h  2 Selector #1 (set by client)
 02h  8  Descriptor #1 (returned by host)
 0Ah  2  Selector #2 (set by client)
 0Ch  8  Descriptor #2 (returned by host)
 . . . . . .  . . .

Out:

if successful:
CF clear
the buffer contains copies of the descriptors for the specified selectors

if failed:
CF set
AX = error code
CX = number of descriptors successfully copied

8022h - invalid selector

Notes:

a) If an error occurs because of an invalid selector or descriptor, the function returns the number of descriptors which were successfully copied in CX. All of the descriptors which were copied prior to the one that failed are valid.

 


Copyright Supernar Systems, Ltd. 1996-2005
All Rights Reserved.