How to get status of RTS, DTR & CTS lines of serial port

Z

zing_foru

Hi all

I need to look the status of RTS, CTS, DTR lines of comport.
I tried "IOCTL_SERIAL_GET_RSTDTR" flag but as a new to VC coding
I doesn't know how to use this type of functions. I read MSDN and other
info on Internet but failed to do the same.

Can anybody explain me how to get the status of RTS CTS pins of comport
through VC++ code

Any help in this regard is accepted

thanx
 
C

chris_doran

zing_foru said:
Can anybody explain me how to get the status of RTS CTS pins of comport
through VC++ code

I've never used them, but GetCommModemStatus() and friends look like
what you want.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top