shaunc@gold.gvg.tek.com (Shaun Case) (06/13/91)
I need to search through all allocated XMS EMBs quickly. If possible, I would like to limit the search to valid (i.e., possilbe) XMS EMB handles. I already know how to tell if a given handle is valid, but it takes too long to search through 2,000+ handles! EMS handles seem to start at 0 and go up from there. Do XMS handles also start at 0? There seems to be a .375Kbytes allocated per handle relationship, from my own crude testing. Is this right? If so, can I start seeking at handle 239? I read XMS.TXT from XMS20.ARC on simtel, which is supposedly the XMS spec from microsoft. I wasn't impressed. It says that "handles are a scarce resource" but doesn't say what range they fall into. What are they, anyway? Pointers to start blocks? Tags that get hashed into a table in the XMS driver with pointers to EMBs? Any help would be greatly appreciated, either in email or post. Help me out, I'm working on PD software! Shaun.