Thursday 20 May 2010

Setting up COM buffers

I was pointed to this today to set the size of serial buffers on WinCE:
 BOOL SetupComm(     HANDLE hFile,   DWORD dwInQueue,     DWORD dwOutQueue   );
This should control the internal buffer sizes for the COM port... but the amusing comment in MSDN says:
 Always returns FALSE because the FIFO queue size cannot be changed
Err... so does this work!?

No comments: