blob: 58a125542f5e797a0450d1984dc8c49f36386f5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using System.Runtime.InteropServices;
namespace MonoLibUsb.Transfer.Internal
{
/// <remarks>
/// This class is never instantiated in .NET. Instead it is used as a template by the <see cref="MonoUsbIsoPacket"/> class.
/// </remarks>
[StructLayout(LayoutKind.Sequential, Pack = MonoUsbApi.LIBUSB_PACK)]
internal class libusb_iso_packet_descriptor
{
/// <summary>
/// Length of data to request in this packet
/// </summary>
uint length;
/// <summary>
/// Amount of data that was actually transferred
/// </summary>
uint actual_length;
/// <summary>
/// Status code for this packet
/// </summary>
MonoUsbTansferStatus status;
private libusb_iso_packet_descriptor() { }
}
}
|