home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / lpr32.zip / lpr32.h.ori < prev    next >
Text File  |  2001-03-05  |  2KB  |  72 lines

  1. #define PATH_LPR32_PDR                 "?:\\OS2\\DLL\\LPR32.PDR"
  2. #define LPR32_DLL                      "LPR32.PDR"
  3.  
  4. #define NO_ERROR                  0
  5. #define ERROR_MORE_DATA           234
  6. #define ERROR_INSUFFICIENT_BUFFER 122
  7.  
  8. #define PORT_ID_1                 5001
  9. #define PORT_DESC_1               5002
  10. #define PORT_ID_2                 5003
  11. #define PORT_DESC_2               5004
  12. #define PORT_ID_3                 5005
  13. #define PORT_DESC_3               5006
  14. #define PORT_ID_4                 5007
  15. #define PORT_DESC_4               5008
  16. #define PORT_ID_5                 5009
  17. #define PORT_DESC_5               5010
  18. #define PORT_ID_6                 5011
  19. #define PORT_DESC_6               5012
  20. #define PORT_ID_7                 5013
  21. #define PORT_DESC_7               5014
  22. #define PORT_ID_8                 5015
  23. #define PORT_DESC_8               5016
  24. #define PORT_ID_9                 5017
  25. #define PORT_DESC_9               5018
  26. #define PORT_HELP_TITLE           5100
  27. #define PORT_ERR_TITLE            7000
  28.  
  29. #define PDR_ID_PROPERTIES         6001
  30.  
  31. #define PORT_ID_FIRST             PORT_ID_1
  32. #define PORT_ID_LAST              PORT_ID_9
  33.  
  34. #define LPR32_ICON                7001
  35.  
  36. #define STR_LEN_PORTNAME          64
  37. #define STR_LEN_PORTDESC          256
  38. #define STR_LEN_DESC              81
  39. #define PORT_ENTRY_LEN            256
  40. #define STR_LEN_TITLE             256
  41.  
  42.    /*
  43.    ** port defaults
  44.    */
  45. #define DEF_INITIALIZATION        "127.0.0.1;"
  46. #define DEF_TERMINATION           ";"
  47. #define DEF_PORTDRIVER            "LPR32;"
  48. #define DEF_TIMEOUT               "45;"
  49.  
  50. #define APPNAME_LEAD_STR          "PM_"
  51.  
  52. #define KEY_DESCRIPTION           "DESCRIPTION"
  53. #define KEY_INITIALIZATION        "INITIALIZATION"
  54. #define KEY_TERMINATION           "TERMINATION"
  55. #define KEY_PORTDRIVER            "PORTDRIVER"
  56. #define KEY_TIMEOUT               "TIMEOUT"
  57.  
  58. #define APPNAME_PM_SPOOLER_PORT   "PM_SPOOLER_PORT"
  59. #define IDD_LPR32                 200
  60. #define ID_NUMBER_OF_DESC_LINES   8000
  61. #define ID_FIRST_DESC_LINES       8001
  62.  
  63. typedef struct _LPRDATA
  64. {
  65.    HAB hAB;
  66.    HMODULE hModule;
  67.    PSZ  pszPortName;
  68.    PSZ  pszAppName;
  69.    ULONG lfModified;
  70. } LPRDATA, *PLPRDATA;
  71. #define ID_IP                       201
  72.