Specifications

CHAPTER 4
Software Support
60 Configuring the PC System
rsSetNetDriveConfig 4
You can use the rsSetNetDriveConfig control routine to establish links between
Macintosh directories and PC system drive letters. The call simply notifies the interface
driver that an entry in the RSNetDriveConfig data structure has been modified.
The control code for this routine is rsSetNetDriveConfig = 600.
Parameter block
—> indicates input to the driver
<— indicates output from the driver
rsSetComPortConfig 4
You can use the rsSetComPortConfig control routine to set the configurations of the
two PC system communications ports, COM1 and COM2. Each communications port
can have a virtual connection to either the modem port, the printer port, a
communication toolbox port, a spool file, or the null device.
The rsSetComPortConfig routine should be called at least once before the PC system
is started up. It can also be called after the PC system has been started, in which case, the
change in configuration takes effect immediately without a restart.
The control code for this routine is rsSetComPortConfig = 300.
The device types for the PC communications ports are
rsModemComPort = 1
rsPrinterComPort = 2
rsSpoolComPort = 3
Parameter block
—> indicates input to the driver
<— indicates output from the driver
—> ioCompletion long Pointer to the completion routine.
<— ioResult word Device driver’s result code.
—> ioRefNum word Device driver’s reference number.
—> csCode word Equals rsSetNetDriveConfig.
—> csParam+0 long Entry number of RSNetDriveConfig (0=E).
—> ioCompletion long Pointer to the completion routine.
<— ioResult word Device driver’s result code.