Skip to content

Commit 09c26d7

Browse files
committed
[LIBUSB] Add USB_TRANSFER_PACKET structure. This is a test commit.
svn path=/branches/usb-experiments/; revision=72631
1 parent 0ee830d commit 09c26d7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

sdk/lib/drivers/libusb/common_interfaces.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,24 @@ typedef struct
2323
LIST_ENTRY InterfaceList;
2424
}USB_CONFIGURATION, *PUSB_CONFIGURATION;
2525

26+
#if 0
27+
typedef struct _USB_TRANSFER_PACKET
28+
{
29+
IUSBPipe *Pipe;
30+
PUSB_DEFAULT_PIPE_SETUP_PACKET SetupPacket;
31+
PIRP Irp;
32+
ULONG TransferFlags;
33+
ULONG TransferBufferLength;
34+
PMDL TransferBufferMDL;
35+
ULONG NumberOfMapRegisters;
36+
PVOID Context; // for MapTransfer()
37+
38+
//SgList should be LAST field
39+
LIBUSB_SG_LIST SgList; // non IsoTransfer
40+
41+
} USB_TRANSFER_PACKET, *PUSB_TRANSFER_PACKET;
42+
#endif
43+
2644
//---------------------------------------------------------------------------
2745
//
2846
// Object Hierarchy

0 commit comments

Comments
 (0)