TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gerard Gerritsen
from: Jeff Patten
date: 1996-09-22 22:17:38
subject: CD Changer eject/retract

SB>   I haven't looked into the ioctl commands, but there could be
 SB> something there.

 GG> There is a 'close tray' command, but it works with a caveat,
 GG> to close the drive door you have got to have a valid handle
 GG> but to get one you first need the drive door to be closed...

   The 'eject' IOCTL (cat 8, fn 40h) does not require a handle -- you can
pass -1 as the handle and put the drive number (A=0) in the second byte of
ParamList.  I would think 'close tray' would have the same option.

Jeff

--- timEd/2 1.01
* Origin: Quibbler's Say (1:2410/242)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 2410/242 213 10 116 3615/50 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.