Next: Create_Code_Segment_Alias_Descriptor
Up: Functions and Procedures
Previous: Set_Segment_Base_Address
Procedure Set_Segment_Limit (Des : word;Len : longint) ;
Set_Segment_Limit sets the limit of the descriptor Des
to the specified length Len
Notes:
- Only works under real DPMI.
- The new limit is the byte length of the segment-1.
- Segment limits bigger than or equal to 1MB must be page aligned, they
must have the lower 12 bits set.
None
SetSegmentBaseAddress, AllocateLdtDescriptors
For an example, see AllocateLdtDescriptors.
Michael Van Canneyt
Tue Mar 31 16:46:10 CEST 1998