home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v5.zip / TOOLKT21 / CPLUS / OS2H / PMSEI.H < prev    next >
C/C++ Source or Header  |  1993-05-03  |  3KB  |  76 lines

  1. /****************************** Module Header *******************************\
  2. *
  3. * Module Name: PMSEI.H
  4. *
  5. * OS/2 Presentation Manager SetErrorInfo constants and function declaration
  6. *
  7. * Copyright (c) International Business Machines Corporation 1981, 1988-1992
  8. *
  9. * ===========================================================================
  10. *
  11. * This is included from PMWIN.H when appropriate INCL symbols are defined
  12. *
  13. * ===========================================================================
  14. *
  15. * Comments at the end of each typedef line give the name tags used in
  16. * the assembler include version of this file.
  17. *
  18. * The assembler include version of this file excludes lines between XLATOFF
  19. * and XLATON comments.
  20. *
  21. \***************************************************************************/
  22.  
  23. /* XLATOFF */
  24.    #pragma info( none )
  25.    #ifndef __CHKHDR__
  26.       #pragma info( none )
  27.    #endif
  28.    #pragma info( restore )
  29. #ifdef __cplusplus
  30.       extern "C" {
  31. #endif
  32. /* XLATON */
  33.  
  34. #define SEI_INCLUDED
  35.  
  36. ERRORID APIENTRY WinSetErrorInfo(ERRORID,
  37.                                  ULONG,
  38.                                  ...);
  39.  
  40. #define SEI_BREAKPOINT   0x8000  /* Always enter an INT 3 breakpt       */
  41. #define SEI_NOBEEP       0x4000  /* Do not call DosBeep                 */
  42. #define SEI_NOPROMPT     0x2000  /* Do not prompt the user              */
  43. #define SEI_DBGRSRVD     0x1000  /* Reserved for debug use              */
  44. #define SEI_DEBUGONLY    (SEI_BREAKPOINT | SEI_NOBEEP | SEI_NOPROMPT | SEI_RESERVED)
  45.  
  46. #define SEI_STACKTRACE   0x0001  /* save the stack trace                */
  47. #define SEI_REGISTERS    0x0002  /* save the registers                  */
  48. #define SEI_ARGCOUNT     0x0004  /* first USHORT in args is arg count   */
  49. #define SEI_DOSERROR     0x0008  /* first USHORT in args is OS2 error code */
  50. #define SEI_RESERVED     0x0FE0  /* Reserved for future use             */
  51.  
  52. /****************************************************************************
  53. * Note that when SEI_ARGCOUNT, SEI_DOSERROR are specified
  54. * together, then the implied order of the parameters is:
  55. *
  56. *
  57. *  WinSetErrorInfo( MAKEERRORID( .... ),
  58. *                   SEI_ARGCOUNT | SEI_DOSERROR,
  59. *                   argCount,
  60. *                   dosErrorCode);
  61. *
  62. ****************************************************************************/
  63.  
  64. /* XLATOFF */
  65. #ifdef __cplusplus
  66.         }
  67. #endif
  68.    #pragma info( none )
  69.    #ifndef __CHKHDR__
  70.       #pragma info( restore )
  71.    #endif
  72.    #pragma info( restore )
  73. /* XLATON */
  74.  
  75. /**************************** end of file **********************************/
  76.