Jump to content
Sign in to follow this  
Borax

Quick erase with CLI

Recommended Posts

Yes, that's for sure... But it is a little 'information overkill' for me/my application.

The only things I want to know (or 'need' to know) are:

1. Is there any media in the specified drive (simple, I can do it myself)

If yes:

2. Is the media empty (could probably determined by the 'Media Status' which seems to be either 'MEDIA_STATUS_EMPTY'

or 'MEDIA_STATUS_NOT_EMPTY' and nothing else)

If yes: OK

If no:

3. Is the media 'writeable' (no DVD-ROM, already burned DVD-R...)

If yes, ask for overwrite -> OK/cancel

This can probably be determined by 'Erasable: Yes' and 'current profile' where 'current profile' may be one of these values:

"CD-RW"

"DVD-RAM" (?)

"DVD-RW"

"DVD+RW"

"BD-RE"

"HD DVD-RW"

 

Is this assumption correct?

Edited by Borax

Share this post


Link to post
Share on other sites

MEDIA_STATUS_UNKNOWN, MEDIA_STATUS_NOT_FORMATTED are also a potential status codes.

 

It should be HD DVD-RAM as that's the new naming scheme, not HD DVD-RW.

 

Also DVD-RW DL, DVD+RW DL exist in the program (not sure if they'll ever actually be made!)

Share this post


Link to post
Share on other sites

>HD DVD-RAM, DVD-RW DL, DVD+RW DL

OK Then I will include these codes.

 

MEDIA_STATUS_UNKNOWN: means imgburn will not be able to burn something?

MEDIA_STATUS_NOT_FORMATTED: means a DVD+RW, 'empty' but not formatted and can be burned after formatting?

 

Thanks again for your support!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.