The GetCommState function fills in a device-control block (a DCB structure) with the current control settings for a specified communications device.
BOOL GetCommState(
|
HANDLE hFile, |
// handle of communications device |
|
LPDCB lpDCB |
// address of device-control block 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.
See also:
| file: /Techref/os/win/api/win32/func/src/f29_2.htm, 2KB, , updated: 2000/4/7 12:19, local time: 2012/5/24 10:13,
38.107.179.231: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_2.htm"> GetCommState</A> |
| Did you find what you needed? |
THE book for getting started with the PIC uC!
5 stars at Amazon.com
Now available from piclist.com for $34.95 ($7.50 S&H)
|
.