Read data written by the communication Port, awaiting at least one byte.
M32 SyncRead(void * pBuffer, int BufferByteSize, M32 * piDeviceResponse = NULL, void * pReserved = NULL);
The bytes count filled in pBuffer (can be 0 if an error occurred).
SyncRead gets data from the temporary receive buffer. This buffer is filled by the Port. The function call is blocked until at least one byte is ready and returns the bytes count filled in pBuffer.