DSpGetMouse
Use the DSpGetMouse function to get the global coordinates of the mouse position.
OSStatus DSpGetMouse (Point *outGlobalPoint);
outGlobalPoint
- On exit, the global coordinates of the mouse position.
- function result
- A result code.
DESCRIPTION
The function returns the global coordinates of the mouse position in theoutGlobalPoint
parameter.CALLING RESTRICTIONS
Do not call this function during an interrupt.