As you've mentioned there could be a lot of ways doing this. I prefer myself to call GetTrackInformation( ... ) passing TRACK_NUMBER_INVISIBLE and check NWA for that track. If it's >0 this means disc has some data on it and is not blank.
betty crokker wrote:
My program asks the user to insert an empty disc which I am then going to write my data onto. I want to be able to warn the user if they insert a non-empty disc.
So what is the best way to determine if a disc is not empty? I can call StarBurn_CdvdBurnerGrabber_GetDiscInformation(), but then should I check m__UCHAR__DiscStatus, m__UCHAR__LastSessionStatus, or both? Or should I call StarBurn_CdvdBurnerGrabber_GetTrackInformation with the track # set to TRACK_NUMBER_INVISIBLE, and check if the session # is not 1?
I would like to detect all kinds of different non-empty discs - DAO, TAO, SAO, music, data, etc. ...