GetDriveTypeW.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

GetDriveTypeW (KERNEL32.@)

SYNOPSIS

UINT GetDriveTypeW
 (
  LPCWSTR root
 )

PARAMS

root [In] String describing drive.

DESCRIPTION

Returns the type of the disk drive specified. If root is NULL the root of the current directory is used.

RETURNS

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

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/volume.c".

Debug channel "volume".