Your browser does not allow scripts
Please click here to view a static table of contents without scripts
FT_GetModemStatus
Return to Introduction  Previous page  Next page
Gets the modem status from the device.

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.