If implemented by the operating system, this function returns the number of character waiting in the receive-queue. If the functions isn't available or if an error happens, a -1 is returned. Use v24QueryErrno to retrieve the error code.Possible error code are V24_OK, V24_E_NOT_IMPLEMENTED and V24_E_ILLHANDLE.