home *** CD-ROM | disk | FTP | other *** search
- ' Visual Basic declares file for
- '
- ' aunzip16.dll addUNZIP 16-bit decompression library
- '
- ' Copyright ⌐ 1996,1997 Stephen Darlington. All rights reserved.
- ' Written by Stephen Darlington June 1997
-
- Declare Function addUNZIP Lib "aunzip16.dll" () As Long
- Declare Function addUNZIP_ArchiveName Lib "aunzip16.dll" (ByVal filename As String) As Integer
- Declare Function addUNZIP_Decrypt Lib "aunzip16.dll" (ByVal cPassword As String) As Integer
- Declare Function addUNZIP_DisplayComment Lib "aunzip16.dll" (ByVal bFlag As Integer) As Integer
- Declare Function addUNZIP_Exclude Lib "aunzip16.dll" (ByVal files As String) As Integer
- Declare Function addUNZIP_ExcludeListFile Lib "aunzip16.dll" (ByVal cFile As String) As Integer
- Declare Function addUNZIP_ExtractTo Lib "aunzip16.dll" (ByVal cPath As String) As Integer
- Declare Function addUNZIP_Freshen Lib "aunzip16.dll" (ByVal iFlag As Integer) As Integer
- Declare Function addUNZIP_GetLastError Lib "aunzip16.dll" () As Integer
- Declare Function addUNZIP_GetLastWarning Lib "aunzip16.dll" () As Integer
- Declare Function addUNZIP_Include Lib "aunzip16.dll" (ByVal files As String) As Integer
- Declare Function addUNZIP_IncludeListFile Lib "aunzip16.dll" (ByVal cFile As String) As Integer
- Declare Sub addUNZIP_Initialise Lib "aunzip16.dll" ()
- Declare Function addUNZIP_InstallCallback Lib "aunzip16.dll" (ByVal fn As Long) As Integer
- Declare Function addUNZIP_Overwrite Lib "aunzip16.dll" (ByVal iFlag As Integer) As Integer
- Declare Function addUNZIP_Register Lib "aunzip16.dll" (ByVal cName As String, ByVal iNumber As Long) As Integer
- Declare Function addUNZIP_ResetDefaults Lib "aunzip16.dll" ()
- Declare Function addUNZIP_RestoreAttributes Lib "aunzip16.dll" (ByVal iFlag As Integer) As Integer
- Declare Function addUNZIP_RestoreStructure Lib "aunzip16.dll" (ByVal iFlag As Integer) As Integer
- Declare Function addUNZIP_SetParentWindowHandle Lib "aunzip16.dll" (ByVal Hwnd As Integer) As Integer
- Declare Function addUNZIP_SetWindowHandle Lib "aunzip16.dll" (ByVal Hwnd As Integer) As Integer
- Declare Function addUNZIP_Test Lib "aunzip16.dll" (ByVal iFlag As Integer) As Integer
- Declare Function addUNZIP_ToMemory Lib "aunzip16.dll" (ByVal lpStr As String, ByVal Uint32 As Long) As Integer
- Declare Function addUNZIP_Update Lib "aunzip16.dll" (ByVal iFlag As Integer) As Integer
- Declare Function addUNZIP_View Lib "aunzip16.dll" (ByVal bFlag As Integer) As Integer
-
- ' constants for addUNZIP_Overwrite(...)
- Global Const azOVERWRITE_ALL = &HB
- Global Const azOVERWRITE_NONE = &HC
- Global Const azOVERWRITE_QUERY = &HA
-
- ' constants used in messages to identify library
- Global Const azLIBRARY_ADDUNZIP = 1
-
- ' constants for addUNZIP_RestoreAttributes(...)
- Global Const azATTR_NONE = 0
- Global Const azATTR_READONLY = 1
- Global Const azATTR_HIDDEN = 2
- Global Const azATTR_SYSTEM = 4
- Global Const azATTR_ARCHIVE = 32
- Global Const azATTR_ALL = 39
-
- ' 'messages' used to provide information to the calling program
- Global Const AM_SEARCHING = &HA
- Global Const AM_ZIPCOMMENT = &HB
- Global Const AM_ZIPPING = &HC
- Global Const AM_ZIPPED = &HD
- Global Const AM_UNZIPPING = &HE
- Global Const AM_UNZIPPED = &HF
- Global Const AM_TESTING = &H10
- Global Const AM_TESTED = &H11
- Global Const AM_DELETING = &H12
- Global Const AM_DELETED = &H13
- Global Const AM_DISKCHANGE = &H14
- Global Const AM_VIEW = &H15
- Global Const AM_ERROR = &H16
- Global Const AM_WARNING = &H17
- Global Const AM_QUERYOVERWRITE = &H18
- Global Const AM_COPYING = &H19
- Global Const AM_COPIED = &H1A
- Global Const AM_ABORT = &HFF
-
- ' Constants for whether file is encrypted or not in AM_VIEW
- Global Const azFT_ENCRYPTED = &H1
- Global Const azFT_NOT_ENCRYPTED = &H0
-
- ' Constants for whether file is text or binary in AM_VIEW
- Global Const azFT_BINARY = &H1
- Global Const azFT_TEXT = &H0
-
- ' Constants for compression method in AM_VIEW
- Global Const azCM_DEFLATED_FAST = &H52
- Global Const azCM_DEFLATED_MAXIMUM = &H51
- Global Const azCM_DEFLATED_NORMAL = &H50
- Global Const azCM_DEFLATED_SUPERFAST = &H53
- Global Const azCM_IMPLODED = &H3C
- Global Const azCM_NONE = &H0
- Global Const azCM_REDUCED_1 = &H14
- Global Const azCM_REDUCED_2 = &H1E
- Global Const azCM_REDUCED_3 = &H28
- Global Const azCM_REDUCED_4 = &H32
- Global Const azCM_SHRUNK = &HA
- Global Const azCM_TOKENISED = &H46
- Global Const azCM_UNKNOWN = &HFF
-
- ' Constants used in returning from a AM_QUERYOVERWRITE message
- Global Const azOW_NO = &H2
- Global Const azOW_NO_TO_ALL = &H3
- Global Const azOW_YES = &H0
- Global Const azOW_YES_TO_ALL = &H1
-
-