include vcomm.inc
VxDCall _VCOMM_GetModemStatus, <hPort, <OFFSET32 dwModemStatus>>
or eax, eax
jz error_handler
Retrieves the current value of the modem-status register. Uses the C calling convention. This is an asynchronous service.
| Value | Meaning |
|---|---|
| MS_CTS_ON | CTS is on. |
| MS_RING_ON | Ring indicator is on. |
| MS_RLDS_ON | RLSD is on. |
| MS_DSR_ON | DSR is on. |
_VCOMM_GetLastError