CYIOCTL.H |
Header cyioctl.h
Description
A pointer to a SINGLE_TRANSFER structure is passed to the driver for the IOCTL_ADAPT_SEND_NON_EP0_TRANSFER and IOCTL_ADAPT_SEND_EP0_CONTROL_TRANSFER commands.
The structure is defined as:
typedef struct _SINGLE_TRANSFER { union { SETUP_PACKET SetupPacket; ISO_ADV_PARAMS IsoParams; }; UCHAR Reserved; UCHAR ucEndpointAddress; ULONG NtStatus; ULONG UsbdStatus; ULONG IsoPacketOffset; ULONG IsoPacketLength; ULONG BufferOffset; ULONG BufferLength; } SINGLE_TRANSFER, *PSINGLE_TRANSFER;
Members
SetupPacket Contains required parameters for Control Endpoint transfers, IsoParams Contains optional parameters for Isochronous Endpoint transfers. reserved Reserved. Should be set to 0. ucEndpointAddress Specified the address of the device endpoint in which the transfer will occur. NtStatus NTSTATUS values that are returned by the driver. UsbdStatus USB_STATUS_XXX codes returned from the host controller driver. IsoPacketOffset Specifies the byte offset from the beginning of the structure to an IsoPacket list. IsoPacketLength The length, in bytes, of the IsoPacket list specified at offset IsoPacketOffset. BufferOffset Specifies the byte offset from the beginning of the structure to a transfer buffer. BufferLength The length, in bytes, of the transfer buffer at offset BufferOffset.
|