|
-
May 16th, 1999, 05:40 AM
#1
finding drive info
Hello,
I would like my C++ program to find out how many
drives (Floppy, HD, CD-ROM, etc.) there are in a windows system and what labels (A:, C:, etc.) they have... does anybody know what code would do that?
I'd appreciate any help. Thanx in advance,
Mishka
-
May 16th, 1999, 09:33 AM
#2
Re: finding drive info
The GetLogicalDrives function returns a bitmask representing the currently available disk drives.
The GetLogicalDriveStrings function fills a buffer with strings that specify valid drives in the system.
The GetDriveType function determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive.
The above three functions are all Win32 functions.
-
May 16th, 1999, 04:14 PM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|