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


Commercial message



Nero SDK Discussion Forum Discuss, How can I get the supported media of an empty drive ? at International Chat: Software related forum; How can I get the capabilities (supported write disc types) of a drive WITHOUT having to insert a disc. As far as I know, the MediaSupport property of a NeroDrive object cannot be used, since it depends on the inserted disc. (It is 0 when no disc is inserted.) Another


Reply
 
Thread Tools
Old 14-12-2004   #1 (permalink)
New on Forum
 
Join Date: Jul 2004
Posts: 19
How can I get the supported media of an empty drive ?

How can I get the capabilities (supported write disc types) of a drive WITHOUT having to insert a disc.

As far as I know, the MediaSupport property of a NeroDrive object cannot be used, since it depends on the inserted disc. (It is 0 when no disc is inserted.)
Another method would be to see if the AvailableSpeeds property returns anything, but this also works ONLY when there is a medium inserted in the drive.

I want to be able to determine which type of media a drive supports BEFORE even when nothing is inserted.

Thanks for helping,

Pamano
Pamano is offline   Reply With Quote
Old 15-12-2004   #2 (permalink)
CD Freaks Member
 
Join Date: Dec 2003
Location: uk
Posts: 234
Re: How can I get the supported media of an empty drive ?

You are incorrect - the mediasupport property can be used without a disc inserted as can the availablespeeds.

Mike
unison is offline   Reply With Quote
Old 11-02-2005   #3 (permalink)
grs
New on Forum
 
Join Date: Feb 2005
Posts: 9
Re: How can I get the supported media of an empty drive ?

pamano,

do you know how to interpret the return value from:

"drives(myindex).Capabilities", and
"drives(myindex).MediaSupport"

I get the following interger values returned:

Lite-On LTN483S 48x Max Capabilities = 389
Lite-On LTN483S 48x Max Media Support = 0
CDWRITER IDE5232 Capabilities = 1055
CDWRITER IDE5232 Media Support = 32833
Image Recorder Capabilities = 16467
Image Recorder Media Support = 131101

-grs
grs is offline   Reply With Quote
Old 11-02-2005   #4 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
They are of NERO_CAPABILITIES and NERO_MEDIA_TYPE type, respectively.
alexp is offline   Reply With Quote
Old 11-02-2005   #5 (permalink)
grs
New on Forum
 
Join Date: Feb 2005
Posts: 9
Re: How can I get the supported media of an empty drive ?

Quote:
Originally Posted by alexp
They are of NERO_CAPABILITIES and NERO_MEDIA_TYPE type, respectively.
Alex,
I wished this helped me, but it doesn't. I don't know how to get the enumerations out of the return value which seems to be integer. Any examples?

George.
grs is offline   Reply With Quote
Old 12-02-2005   #6 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
Well, it's rather simple. Both NERO_CAPABILITIES and NERO_MEDIA_TYPE define a set of bits. Now, MediaSupport property indeed returns a long, but it should be interpreted as a combination of NERO_MEDIA_TYPE flags. Same for Capabilities property.

So, for instance... Lite-On LTN483S 48x Max Capabilities = 389 means NERO_CAP_IDE_BUS + NERO_CAP_UNDETECTED + NERO_CAP_READ_CD_TEXT + NERO_CAP_ALLOWED.

CDWRITER IDE5232 Media Support = 32833 means NERO_MEDIA_FPACKET + NERO_MEDIA_MRW + NERO_MEDIA_CD.

Now, how you do this programmatically really depends on the language used. Generally, you should AND the value with each of the flags. A non-zero results tells you that the flag is set.
alexp is offline   Reply With Quote
Old 14-02-2005   #7 (permalink)
grs
New on Forum
 
Join Date: Feb 2005
Posts: 9
Re: How can I get the supported media of an empty drive ?

Almost there... can you give me the reference for the values of each of these flags? There seem to be 12 enumerations (bits?) for NERO_CAPABILITIES, and 27 for NERO_MEDI_TYPE. if you know:

Lite-On LTN483S 48x Max Capabilities = 389 = 110000101 (binary), is:
NERO_CAP_IDE_BUS = bit0,
NERO_CAP_UNDETECTED = bit2,
NERO_CAP_READ_CD_TEXT = bit7,
NERO_CAP_ALLOWED = bit8?

if so, can you tell me where I can find a document that provides reference for all these flags?
grs is offline   Reply With Quote
Old 14-02-2005   #8 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
It really depends on the environment you are using. In VB6 and VS.NET there is an Object Browser. You can also use OLE View to view the contents of the NeroCOM type library. Ultimately, you can browse through NeroCOM documentation in the NeroSDK.
alexp is offline   Reply With Quote
 
Reply

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
Check supported media : Disabled (0) teflonmyk Nero & InCD 0 21-06-2005 17:44
How to enable 'Check supported media' cynthia_old Nero & InCD 4 22-05-2005 04:44
Benq supported media list. the owl BenQ / Philips Burner 3 01-01-2005 06:25
Supported Media for 851 IC_Light_Lvr LiteOn / PLDS/ Sony Burner 8 25-05-2004 22:05
BTC Drive media supported. ^DA^ZoMBiE BTC/ Emprex Burner 1 19-05-2004 11:29


All times are GMT +2. The time now is 18:58.


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