Private Declare Function GetDriveType Lib "kernel32" _ Alias "GetDriveTypeA" (ByVal nDrive As String) As LongPrivate Declare Function GetLogicalDriveStrings Lib "kernel32" _ Alias "GetLogicalDriveStringsA" (ByVal nBufferLength As Long, _ ByVal lpBuffer As String) As Long'GetDriveType()的传回值意义如下:'0 The drive type cannot be determined.'1 The root directory does not exist.'2 The drive can be removed from the drive.'3 The disk cannot be removed from the drive.'4 The drive is a remote (netwo...[ 查看全文 ]