Closes a queue opened with the QueOpen() function. All data is flushed from the queue.
If a Cicode task is waiting on the QueRead() function, it returns with a "queue empty" status. You should close all queues when they are no longer required, because they consume memory. At shutdown, CitectSCADA closes all open queues.
The queue handle, returned from the QueOpen() function. The queue handle identifies the table where all data on the associated queue is stored.
0 (zero) if successful, otherwise an error is returned.
QueLength, QueOpen, QueRead, QueWrite, QuePeek