Rocket Division Software
http://www.starburnsoftware.com/forum/

DVD+RW Disk Info
http://www.starburnsoftware.com/forum/starburn-sdk-f3/dvd-disk-info-t239.html
Page 1 of 1

Author:  scarnie [ Sun Jan 02, 2005 11:35 pm ]
Post subject:  DVD+RW Disk Info

My question is in regards to the _GetDiscInformation function.

For an empty CD-RW, the m__UCHAR__DiskStatus member correctly reports DISC_STATUS_EMPTY. For an empty DVD+RW it reports DISC_STATUS_INCOMPLETE.

How can I determine generically if any RW disc is empty?

Cheers,

Stuart

Author:  alexey (staff) [ Thu Jan 06, 2005 11:44 am ]
Post subject:  Re: DVD+RW Disk Info

scarnie wrote:
My question is in regards to the _GetDiscInformation function.

For an empty CD-RW, the m__UCHAR__DiskStatus member correctly reports DISC_STATUS_EMPTY. For an empty DVD+RW it reports DISC_STATUS_INCOMPLETE.

How can I determine generically if any RW disc is empty?


Hi,

Please, query TRACK_INFORMATION for TRACK_NUMBER_INVISIBLE:
Code:
        l__EXCEPTION_NUMBER :=
            StarBurn_CdvdBurnerGrabber_GetTrackInformation(
                l__PVOID__CdvdBurnerGrabber,
                PCHAR( @l__CHAR__ExceptionText[1] ),
                sizeof( l__CHAR__ExceptionText ),
                l__ULONG__Status,
                @l__CDB_FAILURE_INFORMATION,
                TRACK_NUMBER_INVISIBLE,
                @l__TRACK_INFORMATION
                );


And then check l__TRACK_INFORMATION.m__LONG__NextWritableAddress. For all empty discs it should be 0.

Author:  Guest [ Thu Jan 06, 2005 2:44 pm ]
Post subject:  Re: DVD+RW Disk Info

Generally speaking DVD+RW and DVD-RAM discs are always reported as "incomplete" (by multiple requests of our customers) as they ARE always writable. You do not need to erease existing content before burning something to them.

scarnie wrote:
My question is in regards to the _GetDiscInformation function.

For an empty CD-RW, the m__UCHAR__DiskStatus member correctly reports DISC_STATUS_EMPTY. For an empty DVD+RW it reports DISC_STATUS_INCOMPLETE.

How can I determine generically if any RW disc is empty?

Cheers,

Stuart

Author:  scarnie [ Thu Jan 06, 2005 3:33 pm ]
Post subject:  Thanks

Thanks, that's what I ended up assuming - just curious why the difference between CD-RW and DVD+RW media, since they are both re-writable..

Cheers,

Stuart

Author:  anton (staff) [ Thu Jan 06, 2005 9:43 pm ]
Post subject:  Re: Thanks

Yes, both rewritable, but in totally different way :-) DVD+RW is also supposed to have defect management (like DVD-RAM). However not implemented by any single hardware vendor yet.

scarnie wrote:
Thanks, that's what I ended up assuming - just curious why the difference between CD-RW and DVD+RW media, since they are both re-writable..

Cheers,

Stuart

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/