Determining if a disc is inserted under win32.

Ryan C. Gordon icculus at
Sat Sep 1 15:26:30 EDT 2001


What do you recommend for determining if a CD-ROM is actually inserted in
a drive (mounted) under Win32?

GetDriveType() will tell us only if the drive is a CD-ROM drive. Is the
best plan to just see if FindFirstFile("X:\\*") fails on a drive that
reports itself to be a CD-ROM reader?



More information about the physfs mailing list