搜索资源列表
FANGWENUSB
- //打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe(\"MyPipe1\") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致 if(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功 { ReadFile(hPipe, Buffer, BufSize, &nBytesRead, NULL) //从 hPipe 里读取数
D12isoDriver
- 周立功D12开发板中带的WINDOWS XP驱动程序,在编译后会出现USB设备不能正常工作. 以下是修改的代码,修改后可以正常工作. 在d12.c和Ioctl.c中, 将+256去掉,这个会引去枚举设备时,设备描述符的长度不对,修改后: siz = sizeof(USB_CONFIGURATION_DEscr iptOR) 在d12.c中的D12_SelectInterface函数中, 设备查询完接口后有一段代码,也会引起驱动返回不对,需要屏蔽下面的代码 // Retrieve the sele
sizeof
- 测量字符串大小, 类型不同测试程序类型不同测试程序-sizeof Measure string size, type, different testing procedures
PIC-MCU-learning-essential-2
- pic-mcu单片机编程必备知识,包含Sizeof-strlen,void,volatile,union,ASCII,BCD,等-pic-mcu microcontroller programming knowledge necessary, including Sizeof-strlen, void, volatile, union, ASCII, BCD, etc.
SDK
- if( NULL == ( g_pD3D = Direct3DCreate9( D3D_SDK_VERSION ) ) ) return FALSE D3DPRESENT_PARAMETERS d3dpp ZeroMemory( &d3dpp, sizeof(d3dpp) ) d3dpp.Windowed = TRUE d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD d3dpp.BackBufferFormat
sizeof
- C++内置类型的大小,包括:int float double-C++ Built-in type size, including: int float double
