Your browser does not allow scripts
Please click here to view a static table of contents without scripts
FT_GetStatus
Return to Introduction  Previous page  Next page
Gets the device status including number of characters in the receive queue, number of characters in the transmit queue, and the current event status.

FT_STATUS
FT_GetStatus
(FT_HANDLE ftHandle, LPDWORD lpdwAmountInRxQueue, LPDWORD lpdwAmountInTxQueue, LPDWORD lpdwEventStatus)




Parameters
ftHandle
Handle of the device.
lpdwAmountInRxQueue
Pointer to a variable of type DWORD which receives the number of characters in the receive queue.
lpdwAmountInTxQueue
Pointer to a variable of type DWORD which receives the number of characters in the transmit queue.
lpdwEventStatus
Pointer to a variable of type DWORD which receives the current state of the event status.




Return Value
FT_OK if successful, otherwise the return value is an FT error code.



Remarks
For an example of how to use this function, see the sample code in FT_SetEventNotification.