代码搜索:USBS
找到约 316 项符合「USBS」的源代码
代码结果 316
www.eeworm.com/read/182775/9191545
txt usbs通讯.txt
如果你想打开一个USB管道,你首先要知道这种USB设备的GUID和管理道名称,
获取句柄以后就可以使用ReadFile/WriteFile进行读写了!
以下是代码,请参考!!
// filename是管道名称,如pipe01等
int CUSBImpObject::open_file( char *filename)
{
int successOpened = 0,i;
www.eeworm.com/read/280057/10358029
c usbs.c
#include "usb.h"
#define dprintf(x...)
static const USB_DeviceRequest UDReq[] = {
{}, // get_status
{}, // clear_feature
{}, // RFU
{}, // set_feature
{}, // RFU
{}, // set_address
{}, // get
www.eeworm.com/read/280056/10358420
c usbs.c
#include "usb.h"
#define dprintf(x...)
extern u8 ep0state;
static const USB_DeviceRequest UDReq[] = { //for what???
{}, // get_status
{}, // clear_feature
{}, // RFU
{}, // set_feature
{}, //
www.eeworm.com/read/280056/10358542
c usbs.c
#include "usb.h"
#define dprintf(x...)
extern u8 ep0state;
static const USB_DeviceRequest UDReq[] = { //for what???
{}, // get_status
{}, // clear_feature
{}, // RFU
{}, // set_feature
{}, //
www.eeworm.com/read/241044/13177631
s usbs.s
; Module Name: usb.s
OPT 2 ; disable listing
INCLUDE kxarm.h
OPT 1 ; reenable listing
OPT 128 ; disable listing of macro expansions
TEXTAR
www.eeworm.com/read/489231/6476995
c usbs.c
#include "usb.h"
#define dprintf(x...)
extern u8 ep0state;
static const USB_DeviceRequest UDReq[] = { //for what???
{}, // get_status
{}, // clear_feature
{}, // RFU
{}, // set_feature
{}, //
www.eeworm.com/read/261216/11658426
s usbs.s
; Module Name: usb.s
OPT 2 ; disable listing
INCLUDE kxarm.h
OPT 1 ; reenable listing
OPT 128 ; disable listing of macro expansions
TEXTAR
www.eeworm.com/read/149791/12350207
plg usbs.plg
Build Log
--------------------Configuration: usbs - Win32 Debug--------------------
Command Lines
Results
usbs.exe - 0 error(s)
www.eeworm.com/read/149791/12350210
dsw usbs.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# 警告: 不能编辑或删除该工作区文件!
###############################################################################
Project: "usbs"=".\usbs.dsp"
www.eeworm.com/read/149791/12350216
dsp usbs.dsp
# Microsoft Developer Studio Project File - Name="usbs" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Appl