home *** CD-ROM | disk | FTP | other *** search
/ Software Recommendations - 1998 Season 1 / DNBCD4.iso / develop / lib / addzip / ADDZIP.ZIP / VB / CONSTANT.BAS < prev    next >
Encoding:
BASIC Source File  |  1997-08-15  |  3.4 KB  |  103 lines

  1. ' Visual Basic constants file for
  2. '
  3. '     azip16.dll    addZIP 16-bit compression library
  4. '     azip32.dll    addZIP 32-bit compression library
  5. '     aunzip16.dll    addUNZIP 16-bit compression library
  6. '     aunzip32.dll    addUNZIP 32-bit compression library
  7. '
  8. ' Copyright ⌐ 1996,1997 Stephen Darlington. All rights reserved.
  9. ' Written by Stephen Darlington                  June 1997
  10.  
  11. ' Function declarations
  12. '  constants for addZIP_SetCompressionLevel(...)
  13.  
  14. Global Const azCOMPRESSION_MAXIMUM = &H3
  15. Global Const azCOMPRESSION_MINIMUM = &H1
  16. Global Const azCOMPRESSION_NONE = &H0
  17. Global Const azCOMPRESSION_NORMAL = &H2
  18.  
  19. ' constants for addZIP_SaveStructure(...)
  20. Global Const azSTRUCTURE_ABSOLUTE = &H2
  21. Global Const azSTRUCTURE_NONE = &H0
  22. Global Const azSTRUCTURE_RELATIVE = &H1
  23.  
  24. ' constants for addZIP_Overwrite(...)
  25. ' constants for addUNZIP_Overwrite(...)
  26. Global Const azOVERWRITE_ALL = &HB
  27. Global Const azOVERWRITE_NONE = &HC
  28. Global Const azOVERWRITE_QUERY = &HA
  29.  
  30. ' constants for addZIP_SetArchiveDate()
  31. Global Const DATE_NEWEST = &H3
  32. Global Const DATE_OLDEST = &H2
  33. Global Const DATE_ORIGINAL = &H0
  34. Global Const DATE_TODAY = &H1
  35.  
  36. ' constants for addZIP_IncludeXXX attribute functions
  37. Global Const azNEVER = &H0       ' files must never have this attribute set
  38. Global Const azALWAYS = &HFF ' files may or may not have this attribute set
  39. Global Const azYES = &H1         ' files must always have this attribute set
  40.  
  41. '  constants for addZIP_ClearAttributes(...)
  42. ' constants for addUNZIP_RestoreAttributes(...)
  43. Global Const azATTR_NONE = 0
  44. Global Const azATTR_READONLY = 1
  45. Global Const azATTR_HIDDEN = 2
  46. Global Const azATTR_SYSTEM = 4
  47. Global Const azATTR_ARCHIVE = 32
  48. Global Const azATTR_ALL = 39
  49.  
  50. ' constants used in messages to identify libraries
  51. Global Const azLIBRARY_ADDZIP = 0
  52. Global Const azLIBRARY_ADDUNZIP = 1
  53.  
  54. ' 'messages' used to provide information to the calling program
  55. Global Const AM_SEARCHING = &HA
  56. Global Const AM_ZIPCOMMENT = &HB
  57. Global Const AM_ZIPPING = &HC
  58. Global Const AM_ZIPPED = &HD
  59. Global Const AM_UNZIPPING = &HE
  60. Global Const AM_UNZIPPED = &HF
  61. Global Const AM_TESTING = &H10
  62. Global Const AM_TESTED = &H11
  63. Global Const AM_DELETING = &H12
  64. Global Const AM_DELETED = &H13
  65. Global Const AM_DISKCHANGE = &H14
  66. Global Const AM_VIEW = &H15
  67. Global Const AM_ERROR = &H16
  68. Global Const AM_WARNING = &H17
  69. Global Const AM_QUERYOVERWRITE = &H18
  70. Global Const AM_COPYING = &H19
  71. Global Const AM_COPIED = &H1A
  72. Global Const AM_ABORT = &HFF
  73.  
  74. ' Constants for whether file is encrypted or not in AM_VIEW
  75. Global Const azFT_ENCRYPTED = &H1
  76. Global Const azFT_NOT_ENCRYPTED = &H0
  77.  
  78. ' Constants for whether file is text or binary in AM_VIEW
  79. Global Const azFT_BINARY = &H1
  80. Global Const azFT_TEXT = &H0
  81.  
  82. ' Constants for compression method in AM_VIEW
  83. Global Const azCM_DEFLATED_FAST = &H52
  84. Global Const azCM_DEFLATED_MAXIMUM = &H51
  85. Global Const azCM_DEFLATED_NORMAL = &H50
  86. Global Const azCM_DEFLATED_SUPERFAST = &H53
  87. Global Const azCM_IMPLODED = &H3C
  88. Global Const azCM_NONE = &H0
  89. Global Const azCM_REDUCED_1 = &H14
  90. Global Const azCM_REDUCED_2 = &H1E
  91. Global Const azCM_REDUCED_3 = &H28
  92. Global Const azCM_REDUCED_4 = &H32
  93. Global Const azCM_SHRUNK = &HA
  94. Global Const azCM_TOKENISED = &H46
  95. Global Const azCM_UNKNOWN = &HFF
  96.  
  97. ' Constants used in returning from a AM_QUERYOVERWRITE message
  98. Global Const azOW_NO = &H2
  99. Global Const azOW_NO_TO_ALL = &H3
  100. Global Const azOW_YES = &H0
  101. Global Const azOW_YES_TO_ALL = &H1
  102.  
  103.