You are currently viewing the documentation for:
The ECUSB_Packet_IsPacketAvailable is used to check if there is an incoming packet available.
BOOL ECUSB_Packet_IsPacketAvailable(
   struct ECUSB_Packet_Function *pPacketFunction
A pointer to the struct ECUSB_Packet_Function previously initialized by ECUSB_Packet_Init().
Return value
Returns TRUE if a packet is available.
Use ECUSB_Packet_ReadPacket and ECUSB_Packet_ReadPacketDone to retrieve the incoming packet if it is available. If you want to be notified when a new packet is available to be read, supply the m_fnReadNotificationCallback of the struct ECUSB_Packet_Configuration when calling ECUSB_Packet_Init.
See also