#1 Burning Software

It is currently Fri Dec 20, 2024 10:47 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Callback when device is ready?
PostPosted: Wed Apr 26, 2006 9:46 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
Is there a callback or notification mechanism to let the user know a new disc is loaded and is ready for a specific device? The scenario is that when the user launches the software and ejecting the disc, putting a new disc in the device, the application needs to know when the device is ready to be queried and the user can proceed with burning.

Any help is greatly appreciated. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 27, 2006 9:48 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
No, you need to poll the device with TestUnitReady or GetMediaTrayStatus (as Windows does itself) or put some reasonable amount of time as parameter to Ex or ExEx variant of the TestUnitReady call and we'll poll the device for you returning when it (device) would be ready.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 24 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