DosQNmPipeInfo

DosQNmPipeInfo

typedef struct   npi_data1 {    /* PipeInfo data block (returned,
                                            level 1) */
   USHORT npi_obuflen;          /* length of outgoing I/O buffer */
   USHORT npi_ibuflen;          /* length of incoming I/O buffer */
   UCHAR  npi_maxicnt;          /* maximum number of instances   */
   UCHAR  npi_curicnt;          /* current number of instances   */
   UCHAR  npi_namlen;           /* length of pipe name           */
   CHAR  npi_name[1];           /* start of name       */
}; /* npi_data1 */

#define INCL_DOSNMPIPES

USHORT  rc = DosQNmPipeInfo(Handle, InfoLevel, InfoBuf, InfoBufSize);

HPIPE            Handle;        /* Pipe handle */
USHORT           InfoLevel;     /* Pipe data required */
PBYTE            InfoBuf;       /* Pipe data buffer */
USHORT           InfoBufSize;   /* Pipe data buffer size */

USHORT           rc;            /* return code */


[Back: DosQNmPHandState]
[Next: DosQNmPipeSemState]