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.10 Create Code Segment Alias Descriptor
This function will create a data descriptor that has
the same base and limit as the specified code segment
descriptor.
To Call
AX = 000Ah
BX = Code segment selector
Returns
If function was successful:
Carry flag is clear.
AX = New data selector
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 not a code segment or is invalid.
- Use the Free Descriptor function to deallocate
the alias descriptor.
- The code segment alias descriptor will not track
changes to the code descriptor. In other words,
if an alias descriptor is created, and then the
base or limit of the code segment is changed, the
alias descriptor's base or limit would not change.
[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>