Author: vgal
Date: Fri Sep 9 15:46:03 2016
New Revision: 72631
URL:
http://svn.reactos.org/svn/reactos?rev=72631&view=rev
Log:
[LIBUSB] Add USB_TRANSFER_PACKET structure. This is a test commit.
Modified:
branches/usb-experiments/sdk/lib/drivers/libusb/common_interfaces.h
Modified: branches/usb-experiments/sdk/lib/drivers/libusb/common_interfaces.h
URL:
http://svn.reactos.org/svn/reactos/branches/usb-experiments/sdk/lib/drivers…
==============================================================================
--- branches/usb-experiments/sdk/lib/drivers/libusb/common_interfaces.h [iso-8859-1]
(original)
+++ branches/usb-experiments/sdk/lib/drivers/libusb/common_interfaces.h [iso-8859-1] Fri
Sep 9 15:46:03 2016
@@ -22,6 +22,24 @@
PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor;
LIST_ENTRY InterfaceList;
}USB_CONFIGURATION, *PUSB_CONFIGURATION;
+
+#if 0
+typedef struct _USB_TRANSFER_PACKET
+{
+ IUSBPipe *Pipe;
+ PUSB_DEFAULT_PIPE_SETUP_PACKET SetupPacket;
+ PIRP Irp;
+ ULONG TransferFlags;
+ ULONG TransferBufferLength;
+ PMDL TransferBufferMDL;
+ ULONG NumberOfMapRegisters;
+ PVOID Context; // for MapTransfer()
+
+ //SgList should be LAST field
+ LIBUSB_SG_LIST SgList; // non IsoTransfer
+
+} USB_TRANSFER_PACKET, *PUSB_TRANSFER_PACKET;
+#endif
//---------------------------------------------------------------------------
//