System_WinDrives::getDrivesInformation() | System_WinDrives::getReadName() |
System_WinDrives | |
PEAR Manual | |
require_once 'System/WinDrives.php'; |
int System_WinDrives::getDriveType (
string $strDrive
)
Returns the type of a drive.
Value | Constant | Meaning |
1 | SYSTEM_WINDRIVE_ERROR | Non-existent drive or other error |
2 | SYSTEM_WINDRIVE_REMOVABLE | Removable drive (e.g. floppy) |
3 | SYSTEM_WINDRIVE_FIXED | Harddisk |
4 | SYSTEM_WINDRIVE_REMOTE | Network share |
5 | SYSTEM_WINDRIVE_CDROM | CD-Rom or DVD |
6 | SYSTEM_WINDRIVE_RAMDISK | RAM disk |
The drive that type shall be returned.
integer - the type (use the constants for comparison)
System_WinDrives::getDrivesInformation() | System_WinDrives::getReadName() |
System_WinDrives | |
PEAR Manual | |