/*static char *SCCSID = "@(#)pipemgr.h	6.1 90/11/18";*/
/*static char *SCCSID = "@(#)pipemgr.h	   1.1 90/09/07";*/
/***	PIPEMGR.H - Named Pipe Manager Header File
 *
 *    CHKDSK
 *    Copyright (C) 1988/1990 Microsoft Corp.
 *
 *    Modification history:
 *
 *
 *
 */

typedef  SUI_MESSAGE	 *PNSUI_MESSAGE;

#define   PIPEBUFSIZE	 512
#define   HFILE 	 USHORT
typedef   CHAR		 *PCZ;
extern	  HFILE 	 hfilePipe; /* pipe handle	       */

/*
 * Return Codes from PipeMgr
 */

#define   ERROR_UNKNOWN_PIPE_CMD    8
#define   PIPE_TRANS_ACT_SUCCESS    0

/*
 * Function Prototype
 */

extern USHORT
usPipeMgr(USHORT    usMsgType,	    /* Message Number		*/
	  CHAR	    **ppcVTable,    /* table of vars to insert	*/
	  USHORT    usVCount,	    /* number of vars to insert */
	  USHORT    usMsgNumber,    /* message number in msgfile*/
	  PCZ	    pczMsgFileName, /* message file name	*/
	  USHORT    usPipeHndl,     /* Pipe Handle		*/
	  USHORT    usRespType,     /* type of response required*/
	  CHAR	    *pcRespBuff,    /* Response Buffer		*/
	  USHORT    usRespBuffLen); /* Response Buffer Length	*/

