Name
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.

Inputs
handle
display handle returned by OpenDisplay()
mx
pointer to write the mouse pointer's x position to
my
pointer to write the mouse pointer's y position to

Show TOC