//看看注册表
REGEDIT4
[HKEY_LOCAL_MACHINE/Enum/ESDI/FARSTONEVIRTUALDRIVE____0/ROOT&ADAPTER&010000]
"Capabilities"=hex:14,00,00,00
"RevisionLevel"="0100"
"ProductId"="VirtualDrive "
"Manufacturer"="FarStone"
"DeviceType"=hex:05
"Removable"=hex:01
"CurrentDriveLetterAssignment"="E" //这一行
"HardwareID"="FARSTONEVIRTUALDRIVE____0,GenCD,ESDI//FARSTONEVIRTUALDRIVE____0"
"Class"="CDROM"
"ClassGUID"="{4d36e965-e325-11ce-bfc1-08002be10318}"
"Driver"="CDROM//0000"
"Mfg"="(标准的 CD-ROM 设备)"
"DeviceDesc"="FarStone VirtualDrive "
"ConfigFlags"=hex:00,00,00,00
"UserDriveLetterAssignment"="EE"
"AutoInsertNotification"=hex:00
接下去就是读注册表的问题了。