home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / printq14.zip / HELLOQMTO / HELLO.H < prev    next >
Text File  |  1994-04-25  |  1KB  |  43 lines

  1. /* hello.h: include file for Hello queue/2 */
  2. /* Version 1.2 MT, (C) Peter Wansch, 1993  */
  3. /* created: 93-5-7                         */
  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. #define MI_ABORT                309
  19.  
  20. /* controls */
  21. #define LB_QUEUES               310
  22. #define PB_JOBPROP              311
  23.  
  24. /* timers */
  25. #define TI_LOGO                 0
  26.  
  27. /* miscellaneous constants */
  28. #define ID_NULL                 -1
  29. #define LENGTH_STRING           256
  30. #define RETURN_ERROR            1       /* return value for exit */
  31. #define NUM_OF_LINES            24
  32. #define STACK_SIZE              8192
  33. #define WMP_JOB_DONE            WM_USER+1 /* print thread end message */
  34. #define BACKOFF_TIME            10UL
  35.  
  36. /* function prototypes */
  37. int main(void);
  38. MRESULT EXPENTRY wpMain(HWND, ULONG, MPARAM, MPARAM);
  39. MRESULT EXPENTRY dpProdInfo(HWND, ULONG, MPARAM, MPARAM);
  40. MRESULT EXPENTRY dpQueryQInfo(HWND, ULONG, MPARAM, MPARAM);
  41. void InitOut(void);
  42. void _Optlink PrintInfo(void *arg);
  43.