user32: Speed improvement for 16bit comm support.
The previous version of this patch wasn't applied correctly.
This commit is contained in:
parent
26f29fdad0
commit
426ae2f2e2
|
@ -721,6 +721,8 @@ INT16 WINAPI GetCommError16(INT16 cid,LPCOMSTAT16 lpStat)
|
|||
|
||||
if (lpStat) {
|
||||
lpStat->status = 0;
|
||||
|
||||
if (comm_inbuf(ptr) == 0)
|
||||
SleepEx(1,TRUE);
|
||||
|
||||
lpStat->cbOutQue = comm_outbuf(ptr);
|
||||
|
|
Loading…
Reference in New Issue