Beginning of the mouseInfo function

The mouseInfo function receives three pointers of type int.

Each parameter in Listing 2 points to a local variable declared in Listing 1.

When the function executes: