TargetId to Drive Path
System Admin
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am currently trying to retieve the path to a CDwriter, I have the targetId of the scsi device and require the drive path. I have a solution for NT,2000 which uses the CreateFile function to obtain a handle to the disk device and then use this handle with DeviceIoControl function and a drive path to return a targetID thus correlating TargetIds to drivepaths. Unfortunately this method does not work on 98 as the CreateFile function will is not supported for retrieving a handle to a disk volume on 98. Does anybody know of a method to get a handle to the disk device on 98 or a completely different method which would produce a drive path from a targetId or TargetId from DrivePath. :-D