| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | IOCTL_CDROMDISK |
Hi Graeme!
[..]
GG> Why, with all OS/2 programs that play Audio CD's I only get the CD-ROM
GG> to EJECT, and I can't get it to close the CD-ROM door again.
My tool already works. At least the basic functions, at the moment I'm
about to extend it on the CDROMAUDIO-commands.
Actually there is an undefined IOCTL which IBM mentions in the docs but
they forgot to define it in the header files:
APIRET CDCloseTray (HFILE hCDROM)
{
#define CDROMDISK_CLOSETRAY 0x45 /* Bug in toolkit */
return (CDGenericIO (hCDROM, IOCTL_CDROMDISK, CDROMDISK_CLOSETRAY));
} /* APIRET CDCloseTray */
I can't test it on my equipment - my CDROM uses caddies.
__
|_)
cu/2 |atrick
[Team OS/2]
---
* Origin: OS/2 Bodensee ! (2:246/2315.18)SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 246/2315 2300 2340 24/901 240/5500 24/24 396/1 270/101 712/515 @PATH: 711/808 809 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™.