Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, How to detect DVD +R or DVD -R writers? at International Chat: Software related forum; Hey, is it possible to use a method to detect automaticaly if the writer works with DVD +R or DVD -R with NeroCom 1.3. Cheers juju


Reply
 
Thread Tools
Old 10-03-2005   #1 (permalink)
New on Forum
 
Join Date: Feb 2005
Posts: 4
How to detect DVD +R or DVD -R writers?

Hey,
is it possible to use a method to detect automaticaly if the writer works with DVD +R or DVD -R with NeroCom 1.3.
Cheers

juju
gediti is offline   Reply With Quote
Old 10-03-2005   #2 (permalink)
New on Forum
 
Join Date: Feb 2005
Posts: 4
Re: How to detect DVD +R or DVD -R writers?

hu,
it is actually NeroCOM 1.1.

juju
gediti is offline   Reply With Quote
Old 10-03-2005   #3 (permalink)
CD Freaks Member
 
Join Date: Dec 2003
Location: uk
Posts: 234
Re: How to detect DVD +R or DVD -R writers?

Set Drives = Nero.GetDrives(NERO_MEDIA_DVD_P_R +NERO_MEDIA_DVD_M_R )
unison is offline   Reply With Quote
Old 16-03-2005   #4 (permalink)
Moderator
 
Join Date: Jan 2005
Posts: 158
Re: How to detect DVD +R or DVD -R writers?

If you call the method as described above you will get all available drives regardless, which media types these support. The media types passed to this method simply implies for which kind of media NeroCOM should calculate available speeds.
To recognize drives supporting particular media types call get_MediaSupport method of INeroDrive interface and check the retunred value against the known media types. In this case NERO_MEDIA_DVD_P_R + NERO_MEDIA_DVD_M_R.
__________________
czykit
Nero AG
czykit is offline   Reply With Quote
Old 04-06-2006   #5 (permalink)
New on Forum
 
Join Date: Apr 2006
Posts: 11
Re: How to detect DVD +R or DVD -R writers?

And this get_MediaSupport detects only dvd writers or dvd roms that can read those types, also ? I need detect only dvd writers available on the system.
cornel001 is offline   Reply With Quote
Old 06-06-2006   #6 (permalink)
New on Forum
 
Join Date: Apr 2006
Posts: 11
Re: How to detect DVD +R or DVD -R writers?

nero = New Nero()
drives = nero.GetDrives(NERO_MEDIA_TYPE.NERO_MEDIA_DVD_ANY)
For myIndex = 0 To drives.Count - 1
If (drives.Item(myIndex).MediaSupport _
And NERO_MEDIA_TYPE.NERO_MEDIA_DVD_ANY = NERO_MEDIA_TYPE.NERO_MEDIA_DVD_ANY) _
And drives.Item(myIndex).DevType = NERO_SCSI_DEVTYPE.NERO_SCSI_DEVTYPE_WORM Then
AvailableDevices.Items.Insert(myIndex, drives.Item(myIndex).DeviceName)
End If
Next

this doesnt work to get dvd writers only.
cornel001 is offline   Reply With Quote
Old 07-06-2006   #7 (permalink)
New on Forum
 
Join Date: Apr 2006
Posts: 11
Re: How to detect DVD +R or DVD -R writers?

My fault, i could put drives.Item(myIndex).MediaSupport _
+ NERO_MEDIA_TYPE.NERO_MEDIA_DVD_ANY instead of
drives.Item(myIndex).MediaSupport _
And NERO_MEDIA_TYPE.NERO_MEDIA_DVD_ANY
cornel001 is offline   Reply With Quote
Old 07-06-2006   #8 (permalink)
New on Forum
 
Join Date: Apr 2006
Posts: 11
Re: How to detect DVD +R or DVD -R writers?

ok, the above is wrong too.. obviously
"if (Y And X = X)" works for UNDERRUN_PROT for example, but here doesnt. Here it looks like it works "if (Y And X)" , i see now... I still have one more verify to do..
cornel001 is offline   Reply With Quote
 
Reply


If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here



Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 writers hp 640c and pioneer dvr112d none detect rewritables pixeyness General Hardware Forum 6 3 Weeks Ago 23:05
SONY DVD RW DRU-510A cant detect blank dvd R's scylla LiteOn / PLDS/ Sony Burner 5 16-11-2007 02:05
LG HL-DT-ST RW/DVD GCC-4480B Cannot detect DVD cds marioyu LG Burner 3 18-08-2007 10:54
CD Writers, DVD Writers suddenly all seen as CD-ROMs by Windows XP bdg2 General Software 5 08-02-2004 19:02
are dvd writers like cd writers omo_uk Newbie Forum 3 29-01-2004 15:13


All times are GMT +2. The time now is 15:50.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0