怎样用软件的方式锁死软驱??

hexenzhou 2003-05-25 11:14:04
计算机一般都有软驱,盘符为A,怎样编程锁死软驱呢,使用户不能通过资源管理器或其他任何方式访问软驱,然后又可以用软件的方式打开软驱使其变为可访问状态。
...全文
89 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
prettywolf 2003-05-26
  • 打赏
  • 举报
回复
原来DOS下的一个功能:驱动器锁,不知有没有用
INT 21 AX=5F08,DL=驱动器号0-A
开时设AX=5F07,其它不变。
masterz 2003-05-25
  • 打赏
  • 举报
回复
把软驱disable A:就不可用了
How to disable a device
look up SetupDiChangeState function in MSDN, pay attention to DICS_DISABLE flag.
Disables the device. If the device is disableable but this function cannot disable the device dynamically, this function marks the device to be disabled the next time the machine reboots.
spiritsl 2003-05-25
  • 打赏
  • 举报
回复
封锁地址,即把软驱的地址用自己的程序站用,当然,你要先找到软驱使用的地址。

2,644

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧