Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Files /
Chapter 2 - File Manager / File Manager Reference
Utility Routines / Adding a Drive


AddDrive

You can use the AddDrive procedure to add a drive to the system.

PROCEDURE AddDrive (drvrRefNum: Integer; drvNum: Integer; 
                     qEl: DrvQElPtr);
drvrRefNum
A driver reference number.
drvNum
A drive number.
qEl
A pointer to a drive queue element.
DESCRIPTION
The AddDrive procedure adds a disk drive having the specified driver reference number and drive number to the system. The File Manager expands the drive queue
by adding a copy of the queue element pointed to by the qEl parameter to the end
of the existing queue.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996