/*static char *SCCSID = "@(#)message.h  6.2 91/01/14";*/
/*      SCCSID = "@(#)message.h 6.2 91/01/14"
 *
 *      IBM/Microsoft Confidential
 *
 *      Copyright (c) IBM Corporation 1987, 1989
 *      Copyright (c) Microsoft Corporation 1987, 1989
 *
 *      All Rights Reserved
 *
 */

/*
 *      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.)
                                         */
} MESSAGE, FAR * PMESSAGE;

/* Size of the message buffer and parameter buffer */
#define PARM_SIZE               20
#define MSG_BUF_SIZE           512

