| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #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 |
| | |
| | #3 (permalink) |
| 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 |
| | |
| | #5 (permalink) | |
| New on Forum Join Date: Feb 2005
Posts: 9
| Re: How can I get the supported media of an empty drive ? Quote:
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. | |
| | |
| | #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. |
| | |
| | #7 (permalink) |
| 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? |
| | |
| | #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. |
| | |
| |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| |
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 |