| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | IOCTL_CDROMDISK |
Patrick Haller wrote in a message to All / Peter Fitzsimmons: PH> Recently I found two interesting IOCtl-definitons when PH> browsing BSEDEV.H: IOCTL_CDROMDISK and IOCTL_CDROMAUDIO. The API to OS2CDROM.DMD is mostly documented in the section "CD-ROM Device Manager Interface Specification" in the IBM OS/2 Storage Device Driver Reference, part number 71G1897. You can buy it in paper format or as part of the DevCon DDK subscription on CD-ROM by calling (800)6-DEVCON. PH> But I can't figure out, what my I/O-parameters/packets for PH> DosDevIOCtl have to look like so the OS2CDROM.CMD will PH> accept them. I keep getting an rc=65283. What does this PH> return code mean ? OS/2 will bitwise-OR 0xFF00 with any value returned from an IOCtl, so your 65283 is 0xFF03, which means that the IOCtl function returned 0x0003. While the return codes from an IOCtl are technically user-defined, in practice a zero return code indicates success and a non-zero return code usually follows the common definitions in BSEERR.H -- at it does here, where 0x0003 is the code for ERROR_I24_BAD_COMMAND. PH> I'd just like to implement a tool for "CDROM /EJECT" or PH> "CDROM /PLAYAUDIO", etc. You could do this, but you would have to study the OS2CDROM.DMD source code. -- Mike ---* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107) 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: 323/107 150 3615/50 396/1 270/101 712/515 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™.