The GetCommTimeouts function retrieves the time-out parameters for all read and write operations on a specified communications device.
BOOL GetCommTimeouts(
|
HANDLE hFile, |
// handle of communications device |
|
LPCOMMTIMEOUTS lpCommTimeouts |
// address of comm. time-outs structure |
|
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
For more information about time-out values for communications devices, see the SetCommTimeouts function.
CreateFile, COMMTIMEOUTS, SetCommTimeouts
See also:
| file: /Techref/os/win/api/win32/func/src/f29_3.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2012/2/10 10:49,
38.107.179.230:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/os/win/api/win32/func/src/f29_3.htm"> GetCommTimeouts</A> |
| Did you find what you needed? |
| piclist.com members can LOGIN to post questions, add public or private comments, links or even new pages(!). To start, fill out the form. |
.