You are currently viewing the documentation for:
ECUSB_Packet_WritePacketDone
ECUSB_Packet_WritePacketDone signals that the user is finished writing to the buffer previously obtained with ECUSB_Packet_WritePacket and that the driver can send it.
ECUSB_ErrorCode ECUSB_Packet_WritePacketDone(
   struct ECUSB_Packet_Function *pPacketFunction,
   WORD PacketSize
);
Parameters
pPacketFunction
A pointer to the struct ECUSB_Packet_Function previously initialized by ECUSB_Packet_Init().
PacketSize
The size of the packet to send.
Return value
Returns one of the ECUSB error codes (ECUSB_SUCCESS on success)
Remarks
Call ECUSB_Packet_WritePacketDone when you are done writing a packet to the buffer you obtained by calling ECUSB_Packet_WritePacket.
See also