Table of contents
TOC
Collapse the table of content
Expand the table of content

DriveType Constants

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

These constants are only available when your project has an explicit reference to the appropriate type library containing these constant definitions.

ConstantValueDescription
Unknown0Drive type can't be determined.
Removable1Drive has removable media. This includes all floppy drives and many other varieties of storage devices.
Fixed2Drive has fixed (nonremovable) media. This includes all hard drives, including hard drives that are removable.
Remote3Network drives. This includes drives shared anywhere on a network.
CDROM4Drive is a CD-ROM. No distinction is made between read-only and read/write CD-ROM drives.
RAMDisk5Drive is a block of Random Access Memory (RAM) on the local computer that behaves like a disk drive.
© 2017 Microsoft