Set Segment Limit [0.9]

Sets the limit field in the LDT descriptor for the specified segment. Call With

AX = 0008H
BX = selector
CX:DX = 32-bit segment limit

Returns

if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8021Hinvalid value (CX <> 0 on a 16-bit DPMI host; or the limit is greater than 1 MB, but the low twelve bits are not set)
8022Hinvalid selector
8025Hinvalid linear address (changing the limit would cause the descriptor to reference a linear address range outside that allowed for DPMI clients.)

Notes