Creates an unnamed pipe.

#define INCL_DOSQUEUES
#include <os2.h>

PHFILE    phfRead;   /*  A pointer to an HFILE where the read handle for the pipe is returned. */
PHFILE    phfWrite;  /*  A pointer to an HFILE where the write handle for the pipe is returned. */
ULONG     cb;        /*  The amount of storage to reserve for the pipe. */
APIRET    ulrc;      /*  Return Code. */

ulrc = DosCreatePipe(phfRead, phfWrite, cb);


[Back] [Next]