Home News Reviews Forums Shop


Programmer's question: How to detect DVD+R/W support?

DVD-R/W, DVD+R/RW, DVD-RAM

Programmer's question: How to detect DVD+R/W support?

Postby vio_man on Sat Oct 04, 2003 8:18 pm

I would like to ask if someone can explain me how to detect if a DVD drive supports DVD+R/W reading/writing (using C++).

Thank you.
User avatar
vio_man
CD-RW Player
 
Posts: 133
Joined: Sat Oct 26, 2002 9:10 pm
Location: Portugal

Postby cfitz on Sat Oct 04, 2003 10:47 pm

Go to www.t10.org/drafts.htm and download the MMC documents (versions 1, 2, 3 and 4) and read the MMC command set. In particular, check the GET CONFIGURATION command (46h) and DVD+RW feature (002Ah).

cfitz
cfitz
CD-RW Curmudgeon
 
Posts: 4572
Joined: Sat Jul 27, 2002 10:44 am

Postby BurninMan921 on Sun Oct 05, 2003 12:37 am

cfitz, is there ANYTHING you can't find? :D

EDIT: Doom9.org has a programming forum; also, since all most all Linux software has source code, you may want to take a look at some of the Linux burning programs; they (mostly) use the SCSI (or SCSI emulation) for burning, so the commands should be the same.
User avatar
BurninMan921
CD-RW Player
 
Posts: 702
Joined: Fri Apr 25, 2003 12:51 am
Location: MFZ (Microsoft Free Zone)

Postby cfitz on Sun Oct 05, 2003 12:49 am

BurninMan921 wrote:cfitz, is there ANYTHING you can't find? :D

I don't think the phpBB software will accept a post long enough to list all the stuff I don't know and can't find. :wink: Ian would have to buy a new server with a multi-terrabyte storage array.

In this case, I just happened to have looked at those documents before, so I knew they exist and have lots of (rather detailed low-level) information in them.

cfitz
cfitz
CD-RW Curmudgeon
 
Posts: 4572
Joined: Sat Jul 27, 2002 10:44 am

Postby aviationwiz on Sun Oct 05, 2003 12:56 am

Yeah, I'd have to say that cfitz has the most helpfull posts on these forums. It seems like he spends too much time typing lengthy anwsers for questions...
User avatar
aviationwiz
Plextor Fan(atic)
 
Posts: 4069
Joined: Tue Jul 16, 2002 2:55 am
Location: Home of the Red Tail

Postby vio_man on Sun Oct 05, 2003 9:29 am

Thank you cfitz.
User avatar
vio_man
CD-RW Player
 
Posts: 133
Joined: Sat Oct 26, 2002 9:10 pm
Location: Portugal

Postby cfitz on Sun Oct 05, 2003 11:24 am

You're welcome, vio_man.

cfitz
cfitz
CD-RW Curmudgeon
 
Posts: 4572
Joined: Sat Jul 27, 2002 10:44 am

Postby cfitz on Sun Oct 05, 2003 11:27 am

aviationwiz wrote:Yeah, I'd have to say that cfitz has the most helpfull posts on these forums. It seems like he spends too much time typing lengthy anwsers for questions...

Thanks for the kind words, aviationwiz, but I'm just a generalist, so my knowledge isn't very deep. And I think Inertia does the best job at providing thoughtful, in-depth answers to questions here.

As for long answers, you're right. I do tend to be too wordy in my posts. :oops: :wink:

cfitz
cfitz
CD-RW Curmudgeon
 
Posts: 4572
Joined: Sat Jul 27, 2002 10:44 am


Return to DVD Writers

Who is online

Users browsing this forum: No registered users and 0 guests

All Content is Copyright (c) 2001-2024 CDRLabs Inc.