DosQueryNPipeInfo uses this data structure for level-1 information.
typedef struct _PIPEINFO { USHORT cbOut; /* Actual size of the buffer for outbound data. */ USHORT cbIn; /* Actual size of the buffer for inbound data. */ BYTE cbMaxInst; /* Maximum number of pipe instances. */ BYTE cbCurInst; /* Current number of pipe instances. */ BYTE cbName; /* Length of szName. */ CHAR szName[1]; /* Name of the pipe. */ } PIPEINFO; typedef PIPEINFO * PIPEINFO ;