Annotation of os232sdk/toolkt20/c/os2h/pmsei.h, revision 1.1.1.1

1.1       root        1: /*****************************************************************************\
                      2:  *
                      3:  *   Copyright (c) IBM Corporation 1987, 1989
                      4:  *   Copyright (c) MicroSoft Corporation 1987,1989
                      5:  *
                      6:  * Module Name: PMSEI.H
                      7:  *
                      8:  * OS/2 Presentation Manager SetErrorInfo constants and function declaration
                      9:  *
                     10:  * This is included from PMWIN.H when appropriate INCL symbols are defined
                     11:  *
                     12: \*****************************************************************************/
                     13: 
                     14: /* SetErrorInfo API */
                     15: 
                     16: /* XLATOFF */
                     17: #define WinSetErrorInfo WINSETERRORINFO
                     18: /* XLATON */
                     19: ERRORID cdecl FAR WINSETERRORINFO(ERRORID, USHORT, ...);
                     20: 
                     21: #define SEI_BREAKPOINT      0x8000  /* Always enter an INT 3 breakpt          */
                     22: #define SEI_NOBEEP          0x4000  /* Do not call DosBeep                    */
                     23: #define SEI_NOPROMPT        0x2000  /* Do not prompt the user                 */
                     24: #define SEI_DBGRSRVD        0x1000  /* Reserved for debug use                 */
                     25: #define SEI_DEBUGONLY       (SEI_BREAKPOINT | SEI_NOBEEP | SEI_NOPROMPT | SEI_RESERVED)
                     26: 
                     27: #define SEI_STACKTRACE      0x0001  /* save the stack trace                   */
                     28: #define SEI_REGISTERS       0x0002  /* save the registers                     */
                     29: #define SEI_ARGCOUNT        0x0004  /* first USHORT in args is arg count      */
                     30: #define SEI_DOSERROR        0x0008  /* first USHORT in args is OS2 error code */
                     31: #define SEI_MSGSTR          0x0010  /* first PSZ in arg -> msg string         */
                     32: #define SEI_RESERVED        0x0FE0  /* Reserved for future use                */
                     33: 
                     34: /* Note that when SEI_ARGCOUNT, SEI_DOSERROR and DOS_MSGSTR are specified     */
                     35: /* together, then the implied order of the parameters is:                     */
                     36: /*                                                                            */
                     37: /*                                                                            */
                     38: /*  WinSetErrorInfo( MAKEERRORID( .... ),                                     */
                     39: /*                   SEI_ARGCOUNT | SEI_DOSERROR | SEI_MSGSTR,                */
                     40: /*                   argCount,                                                */
                     41: /*                   dosErrorCode,                                            */
                     42: /*                   "This is the error msg string: %s\n",                    */
                     43: /*                   "This is an insert for the %s format specifier" );       */
                     44: /*                                                                            */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.