home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / PMDIB1.ZIP / PMDIB.H < prev    next >
Text File  |  1992-01-09  |  2KB  |  48 lines

  1. /*      pmdib.h   -   Verb & error constants for PMDIB 1.0
  2.  
  3.         (c) MIDORI S.A. 1991-1992
  4.         by skarbat@informat
  5. */
  6.  
  7.  
  8. // API verbs and error code verbs
  9. #define DIB_CREATE_BMP                    5000
  10. #define DIB_REFRESH                       5010
  11. #define DIB_INVERSE                       5020
  12. #define DIB_ACTIVATE                      5030
  13. #define DIB_REFRESH_NEW_BMP               5040
  14. #define DIB_WND_BMP_STRETCH               5050
  15. #define DIB_BMP_WND_STRETCH_ON            5060
  16. #define DIB_BMP_WND_STRETCH_OFF           5070
  17. #define DIB_MINIMIZE                      5080
  18. #define DIB_MAXIMIZE                      5090
  19. #define DIB_RESTORE                       5100
  20. #define DIB_EMPTY_WND                     5110
  21. #define DIB_DESTROY_WND                   5120
  22. #define DIB_HIDE_WND                      5130
  23. #define DIB_SHOW_WND                      5140
  24. #define DIB_POSITION_RECTL                5150
  25. #define DIB_REPOSITION_INITIAL            5160
  26. #define DIB_ENABLE_POPUPMENU              5170
  27. #define DIB_DISABLE_POPUPMENU             5180
  28. #define DIB_LOCK_UPDATE                   5190
  29. #define DIB_UNLOCK_UPDATE                 5200
  30. #define DIB_CREATE_BMP_BYPTR              5210
  31. #define DIB_REFRESH_NEW_BMP_BYPTR         5220
  32.  
  33.  
  34. // API Error codes
  35. #define DIBERR_BMP_NOTFOUND               6010
  36. #define DIBERR_BMP_ERROR_READING          6020
  37. #define DIBERR_BMP_BAD_SIGNATURE          6030
  38. #define DIBERR_BMP_CORRUPTED              6040
  39. #define DIBERR_BMP_ERROR_READ_COLORS      6050
  40. #define DIBERR_BMP_LARGER_64K             6060
  41. #define DIBERR_PMDIBDLL_EXISTS            6070
  42. #define DIBERR_RESOURCES_NOTFOUND         6080
  43. #define DIBERR_PMDIBDLL_NOEXISTS          6090
  44. #define DIBERR_THREAD_ERROR               6100
  45. #define DIBERR_RECTL_ERROR                6110
  46. #define DIBERR_VERB_UNKNOWN               6120
  47. #define DIBERR_OK                         8000
  48.