Waits for a named-pipe instance to become available.

#define INCL_DOSNMPIPES
#include <os2.h>

PSZ       pszName;  /*  A pointer to the ASCIIZ name of the pipe to be opened. */
ULONG     msec;     /*  The maximum time, in milliseconds, to wait for a named-pipe instance to become available. */
APIRET    ulrc;     /*  Return Code. */

ulrc = DosWaitNPipe(pszName, msec);


[Back] [Next]