On Thu, 2 Mar 2000, Ove Kaaven (me) wrote:
> If it was possible, it would probably be DPMI function 2, in msdos/dpmi.c
> line 806, which, as you can see, is not very viable to use.
On the other hand, if someone would fix that function to actually conform
to DPMI specifications (stop leaking selectors) and export the resulting
function, it would be much more viable to use. The way I understood the
function, it should save all the selectors it allocated somewhere, so that
when the same segment is requested again, the same selector as before
should be returned. While the routine is "not recommended" because the
selectors cannot be deallocated, it would be usable.