Exemplo n.º 1
0
 protected bool ReadIntPipe(byte[] buffer, int length, ref int transfered)
 {
     return(IsActive && Usb.ReadPipe(_winUsbHandle, IntIn, buffer, length, ref transfered, IntPtr.Zero));
 }
Exemplo n.º 2
0
 protected bool ReadBulkPipe(byte[] buffer, int length, ref int transfered)
 {
     return(IsActive && WinUsbWrapper.ReadPipe(_winUsbHandle, BulkIn, buffer, length, ref transfered, IntPtr.Zero));
 }