This DPMI 0.9 Specification is hosted by Tenberry Software, Inc.
8. Descriptor Management Services, Continued
[Next Section] *
[Previous Section] *
[DPMI Index]
[Tenberry Home]
* [Software Quality]
* [DOS/4G]
* [DOS/4GW]
* [DOS/16M]
8.12 Set Descriptor
This function copies an eight byte buffer into the descriptor table
entry for a specified descriptor.
To Call
AX = 000Ch
BX = Selector
ES:(E)DI = Pointer to an 8 byte buffer that contains
descriptor
Returns
If function was successful:
Carry flag is clear.
If function was not successful:
Carry flag is set.
Programmer's Notes
- Since this function involves descriptor management,
it will be rarely needed in 32-bit programs.
- This function will fail if the selector specified
in BX is invalid.
- Your program should only modify descriptors that
were allocated through the Allocate Descriptors function.
- 32-bit programs must use ES:EDI to point to the
buffer. 16-bit programs should use ES:DI.
- The type byte (byte 5) follows the same format and
restrictions as the access rights/type parameter
(in CL) to Set Descriptor Access Rights. The
extended type byte (byte 6) follows the same
format and restrictions as the extended access
rights/type parameter (in CH) to Set Descriptor
Access Rights, except the limit field may have any
value, except the low order 4 bits (marked
"reserved") are used to set the upper 4 bits of
the descriptor's limit.
[Next Section] *
[Previous Section] *
[DPMI Index]
[Tenberry Home]
* [Software Quality]
* [DOS/4G]
* [DOS/4GW]
* [DOS/16M]
This HTML edition of the DPMI 0.9 Specification is hosted by
Tenberry Software, Inc.,
makers of the
DOS/16M and
the DOS/4G
family of DOS extenders.
Page last modified 2003.1.28,
<webmaster@tenberry.com>