home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c185 / 2.ddi / OWLSRC.EXE / CSCAPE / SOURCE / OAKERROR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-06  |  2.3 KB  |  57 lines

  1. /*
  2.     oakerror.h        10/5/88
  3.  
  4.     Oakland windowing layer error numbers.
  5.  
  6.     OWL 1.1
  7.     Copyright (c) 1986, 1987, by Oakland Group, Inc.
  8.     ALL RIGHTS RESERVED.
  9.  
  10.     Revision History:
  11.     -----------------
  12.     3/21/89 ted        changed dwmgr calls to wmgr
  13. */
  14. /* -------------------------------------------------------------------------- */
  15. /*** error handler ***/
  16.  
  17. extern int oak_errno;
  18.  
  19. #define oak_ClearErrno()    (oak_errno = 0)
  20. #define oak_GetErrno()        (oak_errno)
  21. #define oak_SetErrno(x)        (oak_errno = (x))
  22.  
  23. /* -------------------------------------------------------------------------- */
  24. /* Error numbers (Note: these values should't be changed) */
  25.  
  26. #define    OE_GF_DISP        1001    /* "disp_GetFont:         Bad disp" */
  27. #define    OE_WI_DISP        1002    /* "wmgr_Init:            Bad disp" */
  28. #define    OE_WW_DISP        1003    /* "wmgr_Wrapup:          Bad disp" */
  29. #define    OE_WO_DISP        1004    /* "win_PixOpen:          Bad disp" */
  30. #define    OE_WE_DISP        1005    /* "wmgr_ExposePixBox:    Bad disp" */
  31. #define    OE_WE_TDATA        1006    /* "wmgr_ExposePixBox:    Null tiler data pointer" */
  32.  
  33. #define    OE_KR_DISP        1007    /* "kb_Record:            Bad disp" */
  34. #define    OE_KI_DISP        1008    /* "kb_Idle:              Bad disp" */
  35.  
  36. #define    OE_GH_DISP        1009    /* "disp_GetHeight:       Bad disp" */
  37. #define    OE_GW_DISP        1010    /* "disp_GetWidth:        Bad disp" */
  38. #define    OE_DC_DISP        1011    /* "disp_Clear:           Bad disp" */
  39. #define    OE_DR_DISP        1012    /* "disp_Repaint:         Bad disp" */
  40. #define    OE_GC_DISP        1013    /* "disp_GetCurrent:      Bad disp" */
  41. #define    OE_SC_DISP        1014    /* "disp_SetCurrent:      Passed bad disp buffer" */
  42.  
  43. #define    OE_MC_OLD        1015    /* "win_MakeCurrent:      Found bad current win" */
  44. #define    OE_MC_WIN        1016    /* "win_MakeCurrent:      Passed bad win" */
  45. #define    OE_MC_INMOUSE    1017    /* "win_MakeCurrent:      Called within mouse handler" */
  46.  
  47. #define    OE_WC_WIN        1018    /* "win_Close:            Passed bad win" */
  48. #define    OE_WC_PARENT    1019    /* "win_Class;WINM_CLOSE: Win has bad parent win */
  49.  
  50. #define    OE_OO_ODSIZE    1020    /* "obj_Open:             Uninitialized odata size */
  51. #define    OE_OO_XDSIZE    1021    /* "obj_Open:             Uninitialized xdata size */
  52. #define    OE_OO_ID        1022    /* "obj_Open:             Uninitialized id */
  53.  
  54. #define    OGL_UNINIT        1100    /* "OGL: call to uninitialized OGL routine */
  55. /* -------------------------------------------------------------------------- */
  56.  
  57.