Du läser för närvarande dokumentationen för:
ECUSB_Stream_ReadData
ECUSB_Stream_ReadData is used to read incoming data.
ECUSB_ErrorCode ECUSB_Stream_ReadData(
   struct ECUSB_Stream_Function *pStreamFunction,
   BYTE *pData,
   UINT BufferSize,
   UINT *pBytesRead
);
Parameters
pStreamFunction
A pointer to the struct ECUSB_Stream_Function previously initialized by ECUSB_Stream_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_Stream_ReadData will block until at least 1 byte has been read.