如何区分ROM设备 [英] How to distinguish ROM device
本文介绍了如何区分ROM设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
ROM设备,例如CDROM设备,DVDROM设备和BDROM设备.谢谢
ROM device ,such as CDROM device ,DVDROM device and BDROM device.thanks
推荐答案
您好,
最简单有效的解决方案是收回磁盘总空间,然后您就可以知道其类型CD或DVD或BD ROM:
在MSDN上获取磁盘总空间功能参考 [ ^ ]
最好的问候.
EL GAABEB.
Hi,
The simplest and effiscient solution is to retreve disk total space then you could know its type CD or DVD or BD ROM:
get disk total space function ref on MSDN[^]
Best regards.
EL GAABEB.
您需要使用DeviceIoControl()
[ ^ ]函数与IOCTL_STORAGE_GET_MEDIA_TYPES_EX
[ ^ ]控制代码.
You need to use theDeviceIoControl()
[^] function with theIOCTL_STORAGE_GET_MEDIA_TYPES_EX
[^] control code.
这篇关于如何区分ROM设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文