FT_STATUS
|
FT_GetModemStatus
|
(FT_HANDLE ftHandle, LPDWORD lpdwModemStatus)
|
Parameters
ftHandle
|
Handle of the device.
|
lpdwModemStatus
|
Pointer to a variable of type DWORD which receives the modem status from the device. Status lines are bit-mapped as follows:
CTS = 0x10 DSR = 0x20 RI = 0x40 DCD = 0x80 |
Return Value
FT_OK if successful, otherwise the return value is an FT error code.