English
Language : 

MA104 Datasheet, PDF (31/32 Pages) Megawin Technology Co., Ltd – USB 2.0 low speed device.
MA104 Datasheet
Version 1.02
8.2.7 MA104_ReadData
The MA104_ReadData function reads data from the MA104 device.
MA104_API
DWORD MA104_ReadData( MA104 * pMA104,
LPBYTE lpBuffer,
DWORD nNumberOfBytesToRead,
LPDWORD lpNumberOfBytesRead );
Parameter:
pMA104 : Caller-supplied pointer to MA104 structure.
lpBuffer : Pointer to the buffer that receives the data from the MA104 device.
nNumberOfBytesToRead : It is the length to be read.
lpNumberOfBytesRead : It is the actually read length.
8.2.8 MA104_ClearBuffer
The MA104_ClearBuffer() cleans up DLL internal buffer.
MA104_API
DWORD MA104_ClearBuffer( MA104 * pMA104 );
Parameter:
pMA104 : Caller-supplied pointer to a MA104 structure.
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2011 All right reserved.
QP-7300-03D
31/32