登录
首页 » Windows核心 » 读写usb 上面的OpenDevice函数就是演示如何根据设备GUID打开一个USB接口的设备,和设备读写通讯的时候就需要了解设备的驱动到底都支持什么方式了...

读写usb 上面的OpenDevice函数就是演示如何根据设备GUID打开一个USB接口的设备,和设备读写通讯的时候就需要了解设备的驱动到底都支持什么方式了...

于 2023-04-27 发布 文件大小:202.34 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

读写usb 上面的OpenDevice函数就是演示如何根据设备GUID打开一个USB接口的设备,和设备读写通讯的时候就需要了解设备的驱动到底都支持什么方式了。可以使用UsbView工具查看USB设备到底支持几个Endpoint,每个都以什么方式读写。 如果你的设备支持3个EndPoint,0号是控制的,1号是读,2号是写,那你直接读取0号Endpoint,搞不好就会发生重起的问题 -literacy usb above OpenDevice function is to demonstrate how open the equipment GUID a USB interface equipment literacy and communications equipment when there is a need to understand the driving equipment in the end all support the way. UsbView tools can use USB devices in the end View supports several Endpoint. each of the ways to read and write. If your equipment supports three EndPoint, 0, control, on the 1st of reading, writing on the 2nd, you direct read 0, Endpoint, will take place regardless of the starting weight problem

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 通过注册表关闭光驱
    通过注册表关闭光驱-drive through the registry closed
    2022-10-03 23:20:03下载
    积分:1
  • This is a card that contains checks whether the physical network card (see card...
    这是一个包含检查网卡是否为物理网卡(查看网卡是否使用irq或设备名是否包含pci,有些hp服务器没有irq但也是物理设备),查看网卡物理mac和当前使用的mac(有些网卡可以修改mac)使用xpddk头文件和库文件就可以,检查网卡是否为无线网卡(通过deviceiocontrol让网卡搜寻无线网络,支持的是无线网卡,不支持的不是),以上程序部分使用vc编写,可以说比现在网络上介绍的方法都要准确,唯一缺点是对禁用网络设备不支持,必须启用才可以。-This is a card that contains checks whether the physical network card (see card whether or not to use IRQ or device name contains pci, some no IRQ hp server but it is also a physical device), check the physical network adapter mac and currently use mac (Some network card can modify the mac) the use of xpddk document headers and libraries can check whether the network adapter for wireless network card (through DeviceIoControl allow LAN Search wireless network, supported by the wireless network card, do not support is not), the procedure is part of the preparation of the use of vc can be said that the network than it is now introduce the method to be accurate, the only drawback is to disable the network device does not support, must be enabled before they can.
    2022-03-02 07:20:07下载
    积分:1
  • 在win2000中添加一个windows服务的源程序。请大家指点
    在win2000中添加一个windows服务的源程序。请大家指点-add a windows service of the source. Please guidance
    2023-04-29 23:10:03下载
    积分:1
  • C/C++中调用MATLAB C Math Library 的实现
    C/C++中调用MATLAB C Math Library 的实现-C/C Calling MATLAB C Math Library Implementation
    2022-04-01 05:25:29下载
    积分:1
  • 字节(Bytes)与位(Bits)转换读写函数 可以对每个字节的高低八位进行读写操作...
    字节(Bytes)与位(Bits)转换读写函数 可以对每个字节的高低八位进行读写操作-byte (Bytes) and the place (Bits) conversion function can read and write to the level of each byte write eight
    2022-02-12 05:10:02下载
    积分:1
  • 获得系统内回收站的资源,并可以操作
    获得系统内回收站的资源,并可以操作-Recycling within the system resources and can operate
    2022-03-13 08:46:46下载
    积分:1
  • 源代码 charsize
    下载文件字符大小到 clientes rpg、 管道、 文件、 sendpacket
    2022-03-05 15:08:05下载
    积分:1
  • Delphi7 直接使用WMI对象的控件,就象VB直接写WMI语句一样.这个是安装包....
    Delphi7 直接使用WMI对象的控件,就象VB直接写WMI语句一样.这个是安装包.-The direct usage in Delphi WMI object controls piece, the elephant VB writes directly the WMI language sentence is similar.This is install pack.
    2022-05-08 17:38:05下载
    积分:1
  • 对中国的例子NiO实现详细的笔记来帮助你。
    nio 的实现例子 里面有详细的中文注释 配合查询api 帮助你更好地学习nio 特点:非阻塞-nio implementation of the Chinese examples of which are detailed notes to help you better meet the query api to learn nio features: non-blocking
    2022-01-26 07:22:05下载
    积分:1
  • 获取磁盘总容量和空闲容量等信息,可以学习几个相关的api用法!...
    获取磁盘总容量和空闲容量等信息,可以学习几个相关的api用法! -Access to the disk total capacity and idle capacity and other information, can learn several related api usage!
    2022-04-20 19:27:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载