home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / printq / helloq2 / hello.h < prev    next >
Text File  |  1993-08-19  |  1KB  |  38 lines

  1. /* hello.h: include file for Hello queue/2 */
  2. /* Version 1.1, (C) Peter Wansch, 1993     */
  3. /* created: 93-5-28                        */
  4. /* modified: 93-8-16                       */
  5.  
  6. /* windows, dialog boxes and message boxes */
  7. #define WD_MAIN                 300
  8. #define DB_PRODINFO             301
  9. #define DB_QUERYPRINT           302
  10. #define ID_MESSAGEBOX           303
  11.  
  12. /* menus and menu items */
  13. #define SM_OPTIONS              304
  14. #define MI_EXIT                 305
  15. #define MI_INFO                 306
  16. #define MI_SETUP                307
  17. #define MI_PRINT                308
  18.  
  19. /* controls */
  20. #define LB_QUEUES               309
  21. #define PB_JOBPROP              310
  22.  
  23. /* timers */
  24. #define TI_LOGO                 0
  25.  
  26. /* miscellaneous constants */
  27. #define ID_NULL                 -1
  28. #define LENGTH_STRING           256
  29. #define RETURN_ERROR            1 /* return value for exit */
  30. #define NUM_OF_LINES            24
  31.  
  32. /* function prototypes */
  33. int main(void);
  34. MRESULT EXPENTRY wpMain(HWND, ULONG, MPARAM, MPARAM);
  35. MRESULT EXPENTRY dpProdInfo(HWND, ULONG, MPARAM, MPARAM);
  36. MRESULT EXPENTRY dpQueryQInfo(HWND, ULONG, MPARAM, MPARAM);
  37. void InitOut(void);
  38.