Hi,
I would like to know how datas is in the InBuffer of my serialport.
I find GetFileSize but nothing.
Can You Help me
ReadFile (hPort, &Byte, 1, &dwBytesTransferred, 0);
dwSize = GetFileSize(hPort, NULL);
// Display the data read.
if (dwBytesTransferred == 1)
// ProcessChar (Byte);
{
m_editReceiveData = Byte;
m_editBuffer = dwBytesTransferred;
m_test = dwSize;
UpdateData(FALSE);
}