Product Documentation

ActivePython 2.4 Documentation

win32file.GetDriveTypeW

int = GetDriveTypeW()

Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive. (NT/2000 Unicode specific version).

Return Value

The result is one of the DRIVE_* constants.