h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_GetPointerInfo h2. Wimp_GetPointerInfo h5. (SWI &400CF) |_<. Entry | | |<^. R1 |Pointer to block| |_<. Exit | | |<^. R0| Corrupt | |<^. Block | | |>^. +0 |Mouse x | |>^. +4 |Mouse y | |>^. +8 |[[Button State|Button State]] | |>^. +12 |Window handle (-1 => background, -2 => icon bar) | |>^. +16 |[[Icon Handle|Icon Handle]] | h4. Use The purpose of this call is to return the state of the mouse during the previous [[Wimp_Poll|Wimp_Poll]]. h4. Notes As this call returns the pointer state during the previous Wimp_Poll, it is perfectly safe to use it after a long menu click delay to recreate the menu or as a means of dragging boxes. h4. See also * [[Wimp_Poll|Wimp_Poll]]