user32: Speed improvement for 16bit comm support.
This commit is contained in:
parent
64c1c017c4
commit
dff43b732b
|
@ -719,9 +719,8 @@ INT16 WINAPI GetCommError16(INT16 cid,LPCOMSTAT16 lpStat)
|
|||
stol = (unsigned char *)COM[cid].unknown + COMM_MSR_OFFSET;
|
||||
COMM_MSRUpdate( ptr->handle, stol );
|
||||
|
||||
if (lpStat) {
|
||||
lpStat->status = 0;
|
||||
|
||||
if (lpStat) {
|
||||
lpStat->status = 0;
|
||||
SleepEx(1,TRUE);
|
||||
|
||||
lpStat->cbOutQue = comm_outbuf(ptr);
|
||||
|
|
Loading…
Reference in New Issue