#1 Burning Software

It is currently Thu Mar 28, 2024 9:47 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Getting Disk Type
PostPosted: Sun Feb 13, 2005 3:23 pm 
I'd like to know if there is a faster way to detect if there is a cd/dvd in a specified drive?
At the moment I'm using StarBurn_CdvdBurnerGrabber_GetInsertedDiscType to detect the media type which works fine....unless there is no disk inserted, if this is the case it takes a long time to return the status (DISC_TYPE_NO_MEDIA).
Is there an alternative way of checking this? or speeding up this process?


Top
  
 
 Post subject:
PostPosted: Sun Feb 13, 2005 4:17 pm 
Offline

Joined: Sun Feb 13, 2005 3:37 pm
Posts: 19
Nevermind :)
I found StarBurn_CdvdBurnerGrabber_TestUnitReadyEx to make it quicker 8)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 13, 2005 9:24 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Correct! However it's recommended to pass as large timeout to it as possible. It could take quite a long until some devices detect media presence.

Sonix wrote:
Nevermind :)
I found StarBurn_CdvdBurnerGrabber_TestUnitReadyEx to make it quicker 8)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group