代码改变世界

随笔档案-2001年12月

怎样得到光驱的盘符?

2001-12-26 08:32 by 电脑人生, 188 阅读, 收藏,
摘要: Option ExplicitPrivate Declare Function GetDriveType Lib "kernel32" Alias "GetDriveTypeA" _ (ByVal nDrive As String) As Long'GetLogicalDriveStrings-->获取一个字串,其中包含了当前所有逻辑驱动器的根驱动器路径Private Declare Function GetLogicalDriveStrings Lib "kernel32" Alias "GetLogical 阅读全文