Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I find the cdrom drive?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00446679
Message ID:
00446732
Views:
12
GetDriveType will do this.

Declare Integer GetDriveType in Win32API String

?GetDriveType("a:\") = 2
?GetDriveType("c:\") = 3
?GetDriveType("d:\") = 5 (CD ROM)

>VFP 3.0
>
>Hello All,
>
>I need to have my program find the cdrom drive on the installation
>machine and use that path to go between my program on the cdrom
>and the hard drive.
>
>Is there an api function that will accomplish this task?
>
>Thanks,
>
>Becky
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform