CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - usb readfile
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - usb readfile - List
[
Software Engineering
]
USBtongxun
DL : 0
如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称, 获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-If you want to open a USB pipeline You must first know the GUID of USB devices and management Road name, Access handles can use it after ReadFile / WriteFile for literacy!
Date
: 2008-10-13
Size
: 2.13kb
User
:
副类
[
Other resource
]
FANGWENUSB
DL : 0
//打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe(\"MyPipe1\") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致 if(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功 { ReadFile(hPipe, Buffer, BufSize, &nBytesRead, NULL) //从 hPipe 里读取数据到 Buffer 里 //WriteFile(hPipe, Buffer, BytesToWrite, &nBytesWritten, NULL) //把 Buffer 里面的 BytesToWrite 字节写入 hPipe CloseHandle(hPipe) } //使用 DeviceIoControl 访问 USB 设备 HANDLE hDevice = OpenMyDevice() if(hDevice != INVALID_HANDLE_VALUE) //打开设备成功 { //这些 DeviceIoControl 功能都是由设备定义的, 具体看设备和驱动的资料 if(DeviceIoControl(hDevice, IOCTL_READ_xxxx, &IOBlock, sizeof(IOBLOCK), &c, 1, &nBytes, NULL)) { //成功 } CloseHandle(hDevice) }-/ / open USB literacy, Drivers from the Pipe were identified HANDLE hPipe = OpenMyDevPipe ( " MyPipe1 ") / / driver inside Pipe, and a corresponding visit to the endpoint I / O, Here, I write without basis. consistent with the need to drive if (hPipe! = INVALID_HANDLE_VALUE) / / Open Pipe success (ReadFile (hPipe, Buffer, BufSize,
Date
: 2008-10-13
Size
: 1.77kb
User
:
lanxilange
[
Driver Develop
]
USB通讯协议
DL : 0
USB驱动协议的简化版。如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称,获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-USB drives a simplified version of the agreement. If you want to open a channel USB, you must first know the GUID USB devices Road names and management, acquisition handle can use it after ReadFile / WriteFile write!
Date
: 2008-10-13
Size
: 2.13kb
User
:
郑卓超
[
Driver Develop
]
USB通讯协议
DL : 0
USB驱动协议的简化版。如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称,获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-USB drives a simplified version of the agreement. If you want to open a channel USB, you must first know the GUID USB devices Road names and management, acquisition handle can use it after ReadFile/WriteFile write!
Date
: 2025-07-03
Size
: 2kb
User
:
郑卓超
[
Communication
]
USBthread
DL : 0
USB 1.1通信协议的MFC环境下的应用程序代码.-USB 1.1 communication protocol to the environment under the MFC application code.
Date
: 2025-07-03
Size
: 2.4mb
User
:
马小哈
[
Software Engineering
]
USBtongxun
DL : 0
如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称, 获取句柄以后就可以使用ReadFile/WriteFile进行读写了!-If you want to open a USB pipeline You must first know the GUID of USB devices and management Road name, Access handles can use it after ReadFile/WriteFile for literacy!
Date
: 2025-07-03
Size
: 2kb
User
:
副类
[
Driver Develop
]
VC++HID_USB
DL : 0
vC++读写HID_USB设备,包含hid_usb的固件程序和上位机程序-vC++ read and write HID_USB equipment, including firmware hid_usb procedures and PC program
Date
: 2025-07-03
Size
: 2.98mb
User
:
zifengling
[
USB develop
]
CH12-READFILE
DL : 0
读取HID设备的USB通讯VB源代码,对研究USB通讯有帮助。-Reads HID equipment s USB the communication VB source code, to studies the USB communication to have the help
Date
: 2025-07-03
Size
: 34kb
User
:
唐斌
[
USB develop
]
usblpt
DL : 0
控制USB LPT的代码,通过WriteFile控制USB打印口-Read/Write USB LPT Port by ReadFile/WriteFile API,not by 0x378 I/O Port
Date
: 2025-07-03
Size
: 17kb
User
:
梁东
[
Windows Develop
]
vivUsb
DL : 0
vc通过ReadFile读取Hid设备数据。编译时需要ddk类库。-VC read the data from USB HID device by ReadFile API function. The project need the DDK when it been complier.
Date
: 2025-07-03
Size
: 3.92mb
User
:
111111
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.