Article Preview
Buy Now
COLUMN
Types of Disk Drives
Whether a disk drive is a CD-ROM or not.
Issue: 2.3 (December/January 2003)
Author: Christian Schmitz
Author Bio: Christian Schmitz is the creator of the Monkeybread Software REALbasic Plugins.
Article Description: No description available.
Article Length (in bytes): 3,272
Starting Page Number: 42
Article Number: 2320
Related Link(s): None
Excerpt of article text...
What we want to know
One of our readers sent an email and asked how to check whether or not a path points to a CD-ROM. For Mac OS you can easily check this with a small AppleScript, so he was looking for a solution on Windows.
This article shows a universal function to get the dsk type of a disk based on the drive letter, including network disks.
The declare code
From Microsoft's developer network, we know this function declaration in C:
...End of Excerpt. Please purchase the magazine to read the full article.