⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stusb.h

📁 设计一个读不死与写不死的USB程序.一般USB连写四次,别人不去读那个数据.第五次写这个数据就会死掉.本程序就是解决这个问题。
💻 H
字号:
#include "stdafx.h"
#include <stdio.h>

//调用那个函数来
extern HANDLE open_file( char *filename);
//
extern void usb_reset(HANDLE hThePipe);
//写管道的句柄
extern HANDLE hSTWritePipe;
//读管道的句柄
extern HANDLE hSTReadPipe;
// pipe name for bulk input pipe on our test board
extern char inPipe[32];    
// pipe name for bulk output pipe on our test board 
extern char outPipe[32];    
//generated from the GUID registered by the driver itself
extern char completeDeviceName[256];  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -