GetMousePos -- query mouse pointer position (V6.0)
Synopsis
void GetMousePos(APTR handle, int *mx, int *my);
Function
This function must query the mouse pointer position for the specified window and
write it to the pointers passed in parameters 2 and 3. The mouse position you
return in this function must be relative to the upper-left corner of your
display's client area.