UINT GetDriveTypeW ( LPCWSTR root )
|root||[In]||String describing drive.|
Returns the type of the disk drive specified. If root is NULL the root of the current directory is used.
Type of drive (from Win32 SDK):
DRIVE_UNKNOWN unable to find out anything about the drive DRIVE_NO_ROOT_DIR nonexistent root dir DRIVE_REMOVABLE the disk can be removed from the machine DRIVE_FIXED the disk cannot be removed from the machine DRIVE_REMOTE network disk DRIVE_CDROM CDROM drive DRIVE_RAMDISK virtual disk in RAM
Declared in "winbase.h". https://source.winehq.org/source/include/winbase.h
Implemented in "dlls/kernel32/volume.c". https://source.winehq.org/source/dlls/kernel32/volume.c
Debug channel "volume".
Copyright © 2020 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2020.