|
-
November 17th, 1998, 07:51 AM
#1
retrieving handle to CD drive
I am writing an application for a system that has two CDs, one of which is a CD-RW. I need to tell which one I am looking at. I believe DeviceIOControl can give the information I need but I need the handle to the CD. I tried using CreateFile to get the handle but I keep getting a -1 returned. How do I use CreateFile correctly to retrive the handle of the CD?
Thanks, Don.
-
June 7th, 2001, 09:49 AM
#2
Re: retrieving handle to CD drive
You can use PhysicalDrive[X] (where X could be any of 0-9 numbers)
However this will not give you access to SCSI miniport ,if you famous will
wnaspi32.dll adaptec tech.
-
June 7th, 2001, 02:33 PM
#3
Re: retrieving handle to CD drive
I went this route some time back trying to manipulate my Zip drive and after much consternation, discovered a documetn at MSDN.MIcrosoft.com stating the CreateFile API is not supported under VB ......period.
John G
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|