| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Jun 2004
Posts: 3
| Simple Check if CD inserted Hello, I'm working with NeroAPI for two days now, and i must say I like it very much. I got one problem though, Becouse the procedure of burning files (with multisession) is different if CD is empty or if it already contains some sessions... First I take a look at it with NeroCDInfo(), which returns me NULL if A) there is no CD B) there is no sessions becouse of invoking NeroBurn() is different if I want to add a session or burn first session, I don't like NeroBurn() command to request for CD... (after I supplied it maybe the wrong NERO_ISO_ITEM tree) Did I complicate it? well, how to check if CD is inserted or not? tnx, Maxxel |
| | |
| | #2 (permalink) |
| New on Forum Join Date: May 2004
Posts: 7
| Re: Simple Check if CD inserted I also need to check if empty CD/DVD is interted. I think NeroCDInfo() returns NULL *ONLY* when there is no disc. I tried it with various media and it seems like it returns valid pointer for brand new blank media. Can anyone confirm this? So, is it a correct assumption that if NeroCDInfo() returns a valid pointer, that means there is a disc inside? Also, is it a correct to assume that if (m_NeroCDInfo->ncdiNumTracks == 0) then the disc is empty? Thanks. |
| | |
| | #3 (permalink) |
| New on Forum Join Date: Jun 2004
Posts: 3
| Re: Simple Check if CD inserted hello, dys, seems like we're in the same quest. as far as i can tell, for CD-RW pncdinfo = NeroGetCDInfo (ndhDeviceHandle, 0); results in pncdinfo being NULL if there is a blank CD or if there is no CD. (using Nero 5.5.10.56 and latest NeroAPI) |
| | |
| |
| |
![]() |
| 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 | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to find Inserted Media is CD-R or CD-RW | rajesri | Nero SDK Discussion Forum | 5 | 31-03-2008 03:31 |
| auto cd err - any cd is inserted | yardicd | CD Freaks Living Room | 2 | 18-10-2005 13:46 |
| problem with CD access if NeroSDK closed without inserted CD | michael2 | Nero SDK Discussion Forum | 4 | 02-05-2005 17:44 |
| Unable to see newly-inserted CD | Lagunatic | Newbie Forum | 10 | 23-02-2004 01:34 |
| How to run games without CD inserted? | lancaster | Newbie Forum | 16 | 05-12-2002 16:38 |