[comp.sys.mac.programmer] How do I remove a drive from the drive queue

pcolby@robbie.prime.com (Peter Colby) (09/23/88)

	I am in the process of writing a device driver that will handle multiple
drives. Adding a new drive to the queue is easy but I don't know how to remove
a drive already in the queue. I am assuming that if I set the second byte of
the drive flags (long word before the actual queue element) to 0x48 that my
driver will get an eject control call when the finder dismounts the drive
(because it was thrown in the trash for example) but I want to remove the
drive completely at that point. I'll be using a utility DA or CDEV to
remount so that also isn't a problem.


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
UUCP: {sun,decvax,linus}!cvbnet!pcolby ||| "We has met the enemy and he is us."
UUCP: pcolby@robbie.prime.com          |||                           Pogo
CSNET: pcolby@robbie.prime.com         |||