GetDriveType will tell you some things about the drive (e.g. that it is a CD-ROM). Simply trying to open a file for writing will tell you about whether you can write to the drive (which may be related to whether you've been given right to do so or not rather than anything about the drive itself).

The universe is a figment of its own imagination.