The return codes for the Queue Interface are as follows:
──────────────────────────────────────────────────────────────────────── 0 RXQUEUE_OK The queue function has completed successfully. ────────────────────────────────────────────────────────────────────── 1 RXQUEUE_STORAGE The name buffer is not large enough for the queue name. ────────────────────────────────────────────────────────────────────── 5 RXQUEUE_BADQNAME The queue name is not valid, or you tried to create or delete a queue named "SESSION." ────────────────────────────────────────────────────────────────────── 6 RXQUEUE_PRIORITY The order flag is not equal to RXQUEUE_LIFO or RXQUEUE_FIFO. ────────────────────────────────────────────────────────────────────── 7 RXQUEUE_BADWAITFLAG The wait flag is not equal to RXQUEUE_WAIT or RXQUEUE_NOWAIT. ────────────────────────────────────────────────────────────────────── 8 RXQUEUE_EMPTY Attempted to pull the item off the queue but it was empty. ────────────────────────────────────────────────────────────────────── 9 RXQUEUE_NOTREG The queue does not exist. ────────────────────────────────────────────────────────────────────── 10 RXQUEUE_ACCESS The queue cannot be deleted because it is busy. ────────────────────────────────────────────────────────────────────── 12 RXQUEUE_MEMFAIL There is insufficient memory available to complete the request. ────────────────────────────────────────────────────────────────────────