Gives a client process access to a queue.

#define INCL_DOSQUEUES
#include <os2.h>

PPID       ppid;     /*  A pointer to the process identification of the queue's server process. */
PHQUEUE    phq;      /*  A pointer to the write handle of the queue to be opened. */
PSZ        pszName;  /*  A pointer to the ASCIIZ name of the queue to be opened. */
APIRET     ulrc;     /*  Return Code. */

ulrc = DosOpenQueue(ppid, phq, pszName);


[Back] [Next]