Browse Subversion Repository
Diff of /branches/ttcomtester/teraterm/teraterm/commlib.c
Parent Directory
| Revision Log
| Patch
| 1218 |
} |
} |
| 1219 |
} |
} |
| 1220 |
|
|
| 1221 |
void CommSendBreak(PComVar cv) |
void CommSendBreak(PComVar cv, int msec) |
| 1222 |
/* for only serial ports */ |
/* for only serial ports */ |
| 1223 |
{ |
{ |
| 1224 |
MSG DummyMsg; |
MSG DummyMsg; |
| 1233 |
SetCommBreak(cv->ComID); |
SetCommBreak(cv->ComID); |
| 1234 |
|
|
| 1235 |
/* pause for 1 sec */ |
/* pause for 1 sec */ |
| 1236 |
if (SetTimer(cv->HWin, IdBreakTimer, 1000, NULL) != 0) { |
if (SetTimer(cv->HWin, IdBreakTimer, msec, NULL) != 0) { |
| 1237 |
GetMessage(&DummyMsg,cv->HWin,WM_TIMER,WM_TIMER); |
GetMessage(&DummyMsg,cv->HWin,WM_TIMER,WM_TIMER); |
| 1238 |
} |
} |
| 1239 |
|
|
|
|
Legend:
| Removed from v.4962 |
|
| changed lines |
| |
Added in v.5694 |
|
|
| |