QueryDosDevice 和 IOCTL_STORAGE_GET_DEVICE_NUM 是否将 LUN 视为单独的设备?
有人可以确认 QueryDosDevice()
和 IOCTL_STORAGE_GET_DEVICE_NUMBER
是否将同一物理 USB 存储设备上的 LUN
视为单个设备,还是将每个 LUN 视为一个设备作为一个单独的设备?
例如,如果我有一个具有多个 LUN
的 USB 拇指驱动器,并且每个 LUN 已分配一个逻辑 DOS“字母”,例如 C
:、D:
等,如果我调用QueryDosDevice()
,它会为所有LUN
返回相同的DeviceName
吗?或者每个LUN
都会有不同的DeviceName
吗?
同样,如果我对每个 LUN
使用 IOCTL_STORAGE_GET_DEVICE_NUMBER
,则所有 LUN
返回的 DeviceNumber
是否相同代码>s?
感谢您的帮助!
Can someone confirm whether QueryDosDevice()
and IOCTL_STORAGE_GET_DEVICE_NUMBER
considers LUN
s on the same physical USB storage device as a single device, or is each LUN considered as a separate device?
For example, if I have a USB thumb drive that has multiple LUN
s, and each LUN has been allocated a logical DOS "letter", such as C
:, D:
, etc, if I call QueryDosDevice()
will it return the same DeviceName
for all the LUN
s? Or will each LUN
have a different DeviceName
?
Similarly, if I use IOCTL_STORAGE_GET_DEVICE_NUMBER
for each of the LUN
s, will the returned DeviceNumber
be the same for all the LUN
s?
Thanks for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论