System_WinDrives::getDriveType()

System_WinDrives::getDriveType() -- Gets the type of a drive

Synopsis

require_once 'System/WinDrives.php';

int System_WinDrives::getDriveType (string $strDrive)

ïÐÉÓÁÎÉÅ

Returns the type of a drive.

Таблица 58-1. Return values

ValueConstantMeaning
1SYSTEM_WINDRIVE_ERRORNon-existent drive or other error
2SYSTEM_WINDRIVE_REMOVABLERemovable drive (e.g. floppy)
3SYSTEM_WINDRIVE_FIXEDHarddisk
4SYSTEM_WINDRIVE_REMOTENetwork share
5SYSTEM_WINDRIVE_CDROMCD-Rom or DVD
6SYSTEM_WINDRIVE_RAMDISKRAM disk

ðÁÒÁÍÅÔÒ

string $strDrive

The drive that type shall be returned.

÷ÏÚ×ÒÁÝÁÅÍÏÅ ÚÎÁÞÅÎÉÅ

integer - the type (use the constants for comparison)

óÍ. ÔÁËÖÅ

getTypeTitle()


HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà