You are currently viewing the documentation for:
ECUSB_Packet_ReadPacketDone signals that the user is finished reading the packet previously obtained with ECUSB_Packet_ReadPacket so that the driver can release the space used by it.
ECUSB_ErrorCode ECUSB_Packet_ReadPacketDone(
   struct ECUSB_Packet_Function *pPacketFunction
A pointer to the struct ECUSB_Packet_Function previously initialized by ECUSB_Packet_Init().
Return value
Returns one of the ECUSB error codes (ECUSB_SUCCESS on success)
Call ECUSB_Packet_ReadPacketDone when you are done processing the packet you obtained by calling ECUSB_Packet_ReadPacket. You will not be able to receive packets larger than the size set by the ECUSB_PACKET_OPT_MAXIMUMPACKETSIZE define. If ECUSB_PACKET_OPT_MAXIMUMPACKETSIZE is not defined it will default to 528 bytes.
See also