Technical information

CHAPTER 3
The PC Interface Driver
44 Detecting Errors
rsEndMouseTracking 3
You can use the rsEndMouseTracking control calls to cause the mouse movements
and button presses to be directed to the Mac OS. This call also causes the driver to show
the Macintosh cursor.
Parameter block
ioCompletion long Pointer to the completion routine
ioResult word
ioRefNum word
csCode word Equals rsEndMouseTracking
rsEndPrintJob 3
You can use the rsEndPrintJob control call to end the current print job and close the
spool file (if any). Any subsequent data from the PC to the parallel port starts a new
spool file.
Parameter block
ioCompletion long Pointer to the completion routine
ioResult word
ioRefNum word
csCode word Equals rsEndPrintJob
Detecting Errors 3
Programs on the Mac OS can use the next two procedures to detect error conditions or
other special events on the PC.
rsSetNotificationProc 3
You can use the rsSetNotificationProc control call to install a user-defined proce-
dure that is called whenever a special event happens within the driver. The procedure
can be called at interrupt time and is responsible for deferring handling of the event until
noninterrupt time.
Parameter block
ioCompletion long Pointer to the completion routine
ioResult word
ioRefNum word
csCode word Equals rsSetNotificationProc
csParam+0 long Pointer to the notification procedure
csParam+4 long A1Param value