Rocket Division Software
http://www.starburnsoftware.com/forum/

Getting Disk Type
http://www.starburnsoftware.com/forum/starburn-sdk-f3/getting-disk-type-t289.html
Page 1 of 1

Author:  Sonix [ Sun Feb 13, 2005 3:23 pm ]
Post subject:  Getting Disk Type

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?

Author:  Sonix [ Sun Feb 13, 2005 4:17 pm ]
Post subject: 

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

Author:  anton (staff) [ Sun Feb 13, 2005 9:24 pm ]
Post subject: 

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)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/