Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 2 - DrawSprocket / DrawSprocket Reference
DrawSprocket Functions / Handling a Mouse


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 the outGlobalPoint parameter.

CALLING RESTRICTIONS
Do not call this function during an interrupt.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996