Delphi编程检测驱动器类型
来源:互联网 发布:网络客服专员岗位职责 编辑:程序博客网 时间:2024/05/30 23:04
查看驱动器时,往往需要知道驱动器是属于什么类型的,才能进行读写操作,具体实现方法请看下面的程序:
var x:integer;
driver:pchar;
begin
driver:=f:\;
x := GetDriveType(driver);
Case x of
2: Label1.Caption := 该驱动器是可移动驱动器;
3: Label1.Caption := 该驱动器是固定驱动器;
4: Label1.Caption := 该驱动器是网络驱动器;
5: Label1.Caption := 该驱动器是CD-ROM驱动器;
6: Label1.Caption := 该驱动器是虚拟驱动器;
Else Label1.Caption := 该驱动器无效;
End;
end;
- Delphi编程检测驱动器类型
- Delphi实现查看驱动器类型
- 检测逻辑驱动器
- delphi编程实现检测声卡存在
- 查找指定类型的驱动器
- 查找指定类型的驱动器
- Delphi COM编程技术三类型库
- Delphi COM编程技术三类型库
- Delphi COM编程技术三类型库
- Delphi COM编程技术三类型库
- Delphi COM编程技术三类型库
- Delphi COM编程技术三类型库
- delphi string类型转integer时出错的检测
- delphi编程里bool跟boolean类型的区别
- delphi编程如何判断图片文件的真实类型?
- delphi编程里bool跟boolean类型的区别
- delphi编程里bool跟boolean类型的区别
- 检测类型
- DHCP 移植
- 预处理器小结
- android之android虚拟机的优化
- Rails 3: Passenger can't find git gems || gem is not checkout Please run bundle install
- java double以小数形式输出,非科学计数法
- Delphi编程检测驱动器类型
- oracle 密码过期 ORA-28002: 7 天之后口令将过期 的解决方法
- 微软office在线使用,web时代真的来临了
- VC++ string .........
- js 去空格
- 表单验证 整理
- chromium base_unittests 内容
- 无聊之作:幻方问题 ( 全 )
- 优化C语言代码(程序员必读) ( 转载 )