在 C# 中弹出并关闭 CD/DVD 设备
我想使用 c# 在电脑上弹出并关闭多个 DVD 或 CD 设备。 我还想检测哪些是 IDE、SATA 和 SCSI
Possible Duplicate:
Programatically ejecting and retracting the CD drive in vb.net or c#
I want to Eject and Close Multiple DVD or CD Devices on a pc using c#.
I also would like to detect which are IDE, SATA and SCSI
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
打开或关闭 CD
http://www.dreamincode.net/code/snippet1692.htm
To open or close CD
http://www.dreamincode.net/code/snippet1692.htm
请参阅 IOCTL_CDROM_LOAD_MEDIA。
See IOCTL_CDROM_LOAD_MEDIA.