Creates a queue.

#define INCL_DOSQUEUES
#include <os2.h>

PHQUEUE    phq;       /*  A pointer to the read/write handle of the queue that is being created. */
ULONG      priority;  /*  Priority-ordering algorithm flag. */
PSZ        pszName;   /*  A pointer to the ASCIIZ name of the queue. */
APIRET     ulrc;      /*  Return Code. */

ulrc = DosCreateQueue(phq, priority, pszName);


[Back] [Next]