A channel ID, or 0.
A name for this task.
A Cascade DataHub domain name.
A queue name, or NULL.
The maximum number of messages in the queue, or 0.
A pointer to a new task structure or NULL on failure. This function might fail if a qname is specified but the queue name either already exists, or could not be created.
This function creates a task structure referring to the current process. If domain is NULL, then the default domain is used. If qname is non-NULL, then the queue is created and opened as read-only. If qsize is 0, then the default of 100 is used.