如何以编程方式弹出USB设备? [英] How to programmatically eject the USB device?

查看:113
本文介绍了如何以编程方式弹出USB设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用VC ++代码以编程方式弹出USB设备?

How to programmatically eject the USB device using VC++ code?

推荐答案

看看本文

< ahref>如何为安全移除准备USB驱动器[ ^ ]

您将需要使用IoDeviceControl与USB驱动程序进行通信并告诉其弹出.
take a look at this article

<ahref>How to Prepare a USB Drive for Safe Removal[^]

you will need to use IoDeviceControl to communicate with the usb driver and tell it to eject.


这篇关于如何以编程方式弹出USB设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆