Specifications

CHAPTER 4
Software Support
58 Configuring the PC System
The RSFixedDriveConfig data structure pointed to by csParam is shown below.
Field descriptions
RSFixedDriveConfig[0]
Contains the configuration for drive A:.
RSFixedDriveConfig[1]
Contains the configuration for drive B:.
RSFixedDriveConfig[2]
Contains the configuration for drive C:.
RSFixedDriveConfig[3]
Contains the configuration for drive D:.
type field Specifies what type of drive is configured: rsFloppyDrive,
rsFileDrive, rsPartitionDrive, or rsNULLDrive.
If the value is rsNULLDrive = 0, the corresponding drive does
not exist to the PC system and no other fields need to be filled in.
If the value is rsFloppyDrive = 1, the corresponding drive is an
Apple SuperDrive connected to one of the Macintosh computer’s
floppy drive connectors.
If the value is rsFileDrive = 2, the corresponding drive is
connected to a Macintosh file system file. The vRefNum field
contains the volume the file is on, dirID contains the directory ID
of the file, and fileNamePtr contains a pointer to the filename.
The driver opens and closes the file as needed.
If the value is rsPartitionDrive = 3, the corresponding drive
is connected to a SCSI drive partition. The vRefNum field contains
the SCSI ID, dirID contains the starting sector number of the
partition, and fileNamePtr contains the number of sectors in the
partition.
If the value is set to rsIgnore, the configuration of the
corresponding drive is not changed.
typedef struct{
short type; // Type of device this drive is
short vRefNum; // Volume refNum or SCSI ID
long dirID; // Directory ID or starting sector
number on SCSI drive
long fileNamePtr; // Filename or number of sectors on
SCSI drive
} RSFixedDriveConfig[4], *RSFixedDriveConfigPtr;