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

  • Thread starter Thread starter zing_foru
  • Start date Start date
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
 
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
 
Back
Top