Serial Framework C++ Edition

◆ AllocateReadBuffer()

int AllocateReadBuffer ( void *& Buffer,
unsigned long & Size )
protected

Allocates memory for incoming data buffer.

Parameters
BufferThe read buffer.
SizeThe read buffer size.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.