/*static char *SCCSID = "@(#)message.h	6.1 90/11/18";*/
/*static char *SCCSID = "@(#)message.h    13.3 90/01/25";*/

/*
 *	HISTORY
 *	    11-Aug-1989 by JR (John Rogers, JohnRo@Microsoft)
 *		- PTR B705990: Created file with stuff from Dave Luks.
 */

#define NO_RESPONSE		0	/* no response to message is necessary */
#define CR_RESPONSE		1	/* press Enter key, input is eaten */
#define YES_NO_RESPONSE 	2	/* "y" or "n" only -- value returned */
#define STRING_RESPONSE 	3	/* return null-terminated string */
#define ANY_KEY_RESPONSE	4	/* press any key -- not returned */
#define ARI_RESPONSE		5	/* abort/retry/ignore (returned) */

#define YES_ANS 	0
#define NO_ANS		1
#define ABORT_ANS	2
#define RETRY_ANS	3
#define IGNORE_ANS	4

#define STDOUT_CODE	0
#define STDERR_CODE	1

/**	MESSAGE
 *
 *	MESSAGE is a structure whose first word is the count of
 *	chars in the string.  DON'T USE SIZEOF ON THIS STRUCT!
 */
typedef struct MESSAGE { /* MESSAGE*/
	USHORT cchMessage;		/* Number of non-null chars. */
	BYTE pszMessage[1];		/* First byte - others follow.  (Note
					 * that string is null terminated.)
					 */
} far MESSAGE;

typedef MESSAGE *PMESSAGE;
