Du läser för närvarande dokumentationen för:
ECUSB_Serial_ReadData
ECUSB_Serial_ReadData is used to read incoming data.
ECUSB_ErrorCode ECUSB_Serial_ReadData(
   struct ECUSB_Serial_Function *pSerialFunction,
   BYTE *pData,
   UINT BufferSize,
   UINT *pBytesRead
);
Parameters
pSerialFunction
A pointer to the struct ECUSB_Serial_Function previously initialized by ECUSB_Serial_Init().
pData
A buffer to hold the read data.
BufferSize
The size of the buffer supplied.
pBytesRead
A pointer to a UINT that will receive the number of bytes actually read.
Return value
Returns one of the ECUSB error codes (ECUSB_SUCCESS on success)
Remarks
ECUSB_Serial_ReadData will block until at least 1 byte has been read.