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.