PDA

View Full Version : getting drive letter by ha:lun:id in Win9x


thop
11th January 2004, 05:03
Does anyone know if there is a way to get the drive letter (or dos number, same thing) of a CDROM using the ASPI address (ha:lun:id) in Win9x? In 2k/XP it's easy, because of SPTI. In Win9x i can only get all drive letters of all CD-ROMs (get all drive letters, GetDriveType each), but not which one is which :(

I've searched half the web and ASPI SDK but it appears it is not possible. This is probably not the right forum for this, but i'm trying anyway. Maybe someone knows a more specialised forum?

fu2k
12th January 2004, 00:21
Use ASPI function SC_GET_DISK_INFO.

thop
12th January 2004, 17:23
Yep i got the information in the meanwhile somewhere else, unfortunately the APSI SDK was not really clear about what SC_GET_DISK_INFO, and especially SRB_Int13HDriveInfo really does. Anyway thanks :)