#1 Burning Software

It is currently Thu Dec 19, 2024 4:52 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: CD or DVD Disk Path
PostPosted: Wed Oct 19, 2005 1:33 pm 
Offline

Joined: Fri Mar 18, 2005 7:02 pm
Posts: 13
Location: Delaware, USA
How do I get the path of a CD or DVD drive with StarBurn SDK?

I am working on a program where users select a drive to write data. My users will select the drive by drive letter (i.e. D:). I want to create a CdvdBurnerGrabber for the appropriate drive. Any suggestions would be welcome!

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 19, 2005 1:53 pm 
Offline

Joined: Thu Sep 29, 2005 1:39 pm
Posts: 45
While enumerating devices with StarBurn_FindDevice() you get pointer to SCSI_DEVICE_ADDRESS structure for each device. Pass its members to StarBurn_GetDeviceNameByDeviceAddress(), and you will get a string containing drive letter. Something like "\\.\I:".
By the way, question to dev team. What are this slashes at the beginning of a string for ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 19, 2005 2:20 pm 
Offline

Joined: Fri Mar 18, 2005 7:02 pm
Posts: 13
Location: Delaware, USA
Thank You!

I should have checked, but I thought StarBurn_GetDeviceNameByDeviceAddress returned the same information as StarBurn_CdvdBurnerGrabber_GetDeviceInformation


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 19, 2005 5:14 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Slashes mean standard device prefix in Windows NT and up. Means "device driver symbolic link namespace" and nothing else.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 7:05 am 
Offline

Joined: Thu Sep 29, 2005 1:39 pm
Posts: 45
Shame on me for such ignorance... :(


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 12:52 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Nothing to be ashamed with :)

kri wrote:
Shame on me for such ignorance... :(


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 45 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group