GXGetGlobalMouse
You can use theGXGetGlobalMousefunction to obtain the current cursor position in QuickDraw GX global coordinates.
void GXGetGlobalMouse(gxPoint *globalPt);
globalPt- A pointer to a
gxPointstructure. On return, the structure contains the fixed-point global coordinates of the current cursor position.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory