000

'// IAPECompress errors
Private Const ERROR_APE_COMPRESS_TOO_MUCH_DATA As Long = 6000

'// unknown error
Private Const ERROR_UNDEFINED As Long = -1


'; basic functions
Private Declare Function CompressFile Lib "macdll" ( _
      ByVal pInputFile As Long, _
      ByVal pOutputFile As Long, _
      ByVal nCompressionLevel As Long, _
      ByRef pPercentageDone As Long, _
      ByVal pfnProgressCallback As Long, _
      ByRef pKillFlag As Long) As Long
Private Declare Function DecompressFile Lib "macdll"