CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - deviceiocontrol usb
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - deviceiocontrol usb - List
[
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,
Update
: 2008-10-13
Size
: 1.77kb
Publisher
:
lanxilange
[
Other
]
MFC_USBView
DL : 0
USB容量获取用DeviceIoControl得到U盘物理参数!
Update
: 2008-10-13
Size
: 2.23mb
Publisher
:
李恒
[
Windows Kernel
]
USB硬盤測試
DL : 0
用於生產USB硬盤盒的測試,測試時間為20-30秒. 原理是USB硬盤插入后會向頂層窗體發送WM_DEVICECHANGE消息,之后再用DeviceIoControl(見於原碼中的CDisk類)向磁盤發送控制信息以取得相關測試資料.
Update
: 2009-09-12
Size
: 914.84kb
Publisher
:
lmq@coolermaster.com.cn
[
USB develop
]
usb2303
DL : 0
一个USB接口驱动编程例子-a USB-driven programming examples
Update
: 2025-02-17
Size
: 2.63mb
Publisher
:
高文武
[
USB develop
]
EZUSB批量_中断传输例程
DL : 0
sime examples of EZUSB s bulk tranfer
Update
: 2025-02-17
Size
: 94kb
Publisher
:
盛可帕
[
Windows Develop
]
实战DeviceIoControl:通过API访问设备驱动程序
DL : 0
对DeviceIoControl函数的用法的最全的介绍,并有多个程序的实际例子让你对硬件的操作的认识更加深刻-right DeviceIoControl function of the usage of the most comprehensive presentation there are a number of procedures and practical examples of the right to allow you to operate the hardware even deeper understanding
Update
: 2025-02-17
Size
: 145kb
Publisher
:
陈万通
[
VC/MFC
]
DeviceIoControl
DL : 0
DeviceIoControl:详细的讲解如何运用这个进行一些涉及硬件的编程,调用驱动等-DeviceIoControl : detailed explanation on how to use some of the hardware involved in the program, such as call-driven
Update
: 2025-02-17
Size
: 43kb
Publisher
:
李志亮
[
Windows CE
]
FANGWENUSB
DL : 0
Update
: 2025-02-17
Size
: 2kb
Publisher
:
lanxilange
[
OS program
]
testUSB
DL : 0
一个查找系统USB的源码程序,可以查找HID设备,U盘,以及其他USB设备等!
Update
: 2025-02-17
Size
: 90kb
Publisher
:
陈伟钦
[
VC/MFC
]
DeviceIoControl
DL : 0
实战DeviceIoControl:通过API访问设备驱动程序,绝对经典·~-Actual DeviceIoControl: visit through the device driver API is definitely a classic ~
Update
: 2025-02-17
Size
: 165kb
Publisher
:
林风
[
Windows CE
]
CSoundBaseRocorder
DL : 0
wince下的录音放音小程序,简单实用,evc编写-wince under the recording applet playback, simple and practical, evc prepared
Update
: 2025-02-17
Size
: 45kb
Publisher
:
张运凯
[
USB develop
]
MFC_USBView
DL : 0
USB容量获取用DeviceIoControl得到U盘物理参数!-USB capacity DeviceIoControl be used to obtain physical parameters U disk!
Update
: 2025-02-17
Size
: 4.29mb
Publisher
:
李恒
[
Driver Develop
]
DriverTestA
DL : 0
测试USB驱动程序的应用程序代码,用来实现VendorRequest。使用了DeviceIoControl-USB driver test application code, used to achieve VendorRequest. Using DeviceIoControl
Update
: 2025-02-17
Size
: 24kb
Publisher
:
Cai zhijian
[
Driver Develop
]
UsbFat32Scsi
DL : 0
Qt 4.7.2 + msvc2010 (msvc 版的 QT) 写的 Qt Gui 版 Spti, 即是 WinDDK里面一个 使用 DeviceIoControl 操作 SCSI 类型磁盘的例子, 本次编写此程序主要用于测试 usb 闪盘的 固件, 协助 usb 驱动 和 固件的程序开发. 同时也对在 Qt 中使用 win32 api 有一定的借鉴作用.-Qt 4.7.2+ msvc2010 (msvc version of QT) to write the Qt Gui version Spti, that is WinDDK DeviceIoControl operation inside a SCSI type of disk using the example of this preparation The procedure used to test the usb flash drive' s firmware, usb help drivers and firmware program development. but also in the use of Qt has some win32 api reference.
Update
: 2025-02-17
Size
: 10kb
Publisher
:
黄展飞
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.