.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH GetDriveTypeW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBGetDriveTypeW\fR (KERNEL32.@) .SH SYNOPSIS UINT GetDriveTypeW ( LPCWSTR \fIroot\fR ) .SH PARAMS \fIroot\fR \fB[In]\fR String describing drive. .PP .SH DESCRIPTION .PP Returns the type of the disk drive specified. If \fIroot\fR is \fBNULL\fR the \fIroot\fR of the current directory is used. .SH RETURNS .PP Type of drive (from Win32 \fBSDK\fR): .PP \fBDRIVE_UNKNOWN\fR unable to find out anything about the drive \fBDRIVE_NO_ROOT_DIR\fR nonexistent \fIroot\fR dir \fBDRIVE_REMOVABLE\fR the disk can be removed from the machine \fBDRIVE_FIXED\fR the disk cannot be removed from the machine \fBDRIVE_REMOTE\fR network disk \fBDRIVE_CDROM\fR CDROM drive \fBDRIVE_RAMDISK\fR virtual disk in \fBRAM\fR .SH IMPLEMENTATION .PP Declared in \fB"winbase.h"\fR. .PP Implemented in \fB"dlls/kernel32/volume.c"\fR. .PP Debug channel \fB"volume"\fR.