h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_SlotSize h2. Wimp_SlotSize h5. (SWI &400EC) |_<^. Entry |_<^. | |/2<^. R0 |<^. New size of current slot, or | |<^. -1 to return size | |/2<^. R1 |<^. New size of next slot, or | |<^. -1 to return size | |_<^. Exit |_<^. | |<^. R0 |<^. Size of current slot (bytes) | |<^. R1 |<^. Size of next slot (bytes) | |<^. R2 |<^. Size of free pool (bytes) | h4. Use The purpose of this call is to read or set the amount of memory allocated to the current, or next application to be loaded. h4. Notes The use of 32bit integers means that the returned values may be incorrect on systems with over 2GB of RAM (especially the free pool size). To avoid this, consider using [[Wimp_Extend (read slot size)]], which will return the values in units of pages. h4. See also * [[Wimp_Extend (read slot size)]]