Artifact 4be9089a5e7577df6d32f6e43bb2ca285d0f7300:
0000: 2f 2f 2d 2d 2d 20 4b 2e 49 2e 4c 49 42 20 2d 2d //--- K.I.LIB --
0010: 2d 0d 0a 2f 2f 20 6b 6c 5f 63 61 72 63 2e 68 20 -..// kl_carc.h
0020: 3a 20 68 61 6e 64 6c 69 6e 67 20 22 63 6f 6d 6d : handling "comm
0030: 6f 6e 20 61 72 63 68 69 76 65 72 73 27 20 64 6c on archivers' dl
0040: 6c 22 0d 0a 0d 0a 23 69 66 6e 64 65 66 20 41 46 l"....#ifndef AF
0050: 58 5f 4b 49 41 52 43 44 4c 4c 52 41 57 5f 48 5f X_KIARCDLLRAW_H_
0060: 5f 43 39 34 44 45 32 41 30 5f 34 32 39 32 5f 34 _C94DE2A0_4292_4
0070: 39 43 45 5f 38 34 37 31 5f 32 43 41 41 31 33 34 9CE_8471_2CAA134
0080: 30 44 32 31 36 5f 5f 49 4e 43 4c 55 44 45 44 5f 0D216__INCLUDED_
0090: 0d 0a 23 64 65 66 69 6e 65 20 41 46 58 5f 4b 49 ..#define AFX_KI
00a0: 41 52 43 44 4c 4c 52 41 57 5f 48 5f 5f 43 39 34 ARCDLLRAW_H__C94
00b0: 44 45 32 41 30 5f 34 32 39 32 5f 34 39 43 45 5f DE2A0_4292_49CE_
00c0: 38 34 37 31 5f 32 43 41 41 31 33 34 30 44 32 31 8471_2CAA1340D21
00d0: 36 5f 5f 49 4e 43 4c 55 44 45 44 5f 0d 0a 0d 0a 6__INCLUDED_....
00e0: 2f 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a /*=*=*=*=*=*=*=*
00f0: 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a =*=*=*=*=*=*=*=*
0100: 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a =*=*=*=*=*=*=*=*
0110: 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a =*=*=*=*=*=*=*=*
0120: 3d 2a 3d 2a 3d 2a 3d 2a 2f 0d 0a 2f 2f 20 93 9d =*=*=*=*/..// ..
0130: 8d 87 83 41 81 5b 83 4a 83 43 83 6f 44 4c 4c 8b ...A.[.J.C.oDLL.
0140: a4 92 ca 82 cc 92 e8 8b 60 0d 0a 0d 0a 2f 2f 20 ........`....//
0150: 46 4e 41 4d 45 5f 4d 41 58 0d 0a 23 69 66 20 21 FNAME_MAX..#if !
0160: 64 65 66 69 6e 65 64 28 46 4e 41 4d 45 5f 4d 41 defined(FNAME_MA
0170: 58 33 32 29 0d 0a 23 64 65 66 69 6e 65 20 46 4e X32)..#define FN
0180: 41 4d 45 5f 4d 41 58 33 32 09 35 31 32 0d 0a 23 AME_MAX32.512..#
0190: 64 65 66 69 6e 65 09 46 4e 41 4d 45 5f 4d 41 58 define.FNAME_MAX
01a0: 09 46 4e 41 4d 45 5f 4d 41 58 33 32 0d 0a 23 65 .FNAME_MAX32..#e
01b0: 6c 73 65 0d 0a 23 69 66 20 21 64 65 66 69 6e 65 lse..#if !define
01c0: 64 28 46 4e 41 4d 45 5f 4d 41 58 29 0d 0a 23 64 d(FNAME_MAX)..#d
01d0: 65 66 69 6e 65 09 46 4e 41 4d 45 5f 4d 41 58 09 efine.FNAME_MAX.
01e0: 31 32 38 0d 0a 23 65 6e 64 69 66 0d 0a 23 65 6e 128..#endif..#en
01f0: 64 69 66 0d 0a 0d 0a 2f 2f 20 43 48 45 43 4b 41 dif....// CHECKA
0200: 52 43 48 49 56 45 0d 0a 23 69 66 20 21 64 65 66 RCHIVE..#if !def
0210: 69 6e 65 64 28 43 48 45 43 4b 41 52 43 48 49 56 ined(CHECKARCHIV
0220: 45 5f 52 41 50 49 44 29 0d 0a 23 64 65 66 69 6e E_RAPID)..#defin
0230: 65 09 43 48 45 43 4b 41 52 43 48 49 56 45 5f 52 e.CHECKARCHIVE_R
0240: 41 50 49 44 09 09 30 0d 0a 23 64 65 66 69 6e 65 APID..0..#define
0250: 09 43 48 45 43 4b 41 52 43 48 49 56 45 5f 42 41 .CHECKARCHIVE_BA
0260: 53 49 43 09 09 31 0d 0a 23 64 65 66 69 6e 65 09 SIC..1..#define.
0270: 43 48 45 43 4b 41 52 43 48 49 56 45 5f 46 55 4c CHECKARCHIVE_FUL
0280: 4c 43 52 43 09 32 0d 0a 23 65 6e 64 69 66 0d 0a LCRC.2..#endif..
0290: 0d 0a 2f 2f 20 49 53 41 52 43 0d 0a 23 69 66 20 ..// ISARC..#if
02a0: 21 64 65 66 69 6e 65 64 28 49 53 41 52 43 5f 46 !defined(ISARC_F
02b0: 55 4e 43 54 49 4f 4e 5f 53 54 41 52 54 29 0d 0a UNCTION_START)..
02c0: 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 46 55 #define ISARC_FU
02d0: 4e 43 54 49 4f 4e 5f 53 54 41 52 54 09 09 09 30 NCTION_START...0
02e0: 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 09 ..#define ISARC.
02f0: 09 09 09 09 09 09 30 0d 0a 23 64 65 66 69 6e 65 ......0..#define
0300: 20 49 53 41 52 43 5f 47 45 54 5f 56 45 52 53 49 ISARC_GET_VERSI
0310: 4f 4e 09 09 09 09 31 0d 0a 23 64 65 66 69 6e 65 ON....1..#define
0320: 20 49 53 41 52 43 5f 47 45 54 5f 43 55 52 53 4f ISARC_GET_CURSO
0330: 52 5f 49 4e 54 45 52 56 41 4c 09 09 32 0d 0a 23 R_INTERVAL..2..#
0340: 64 65 66 69 6e 65 20 49 53 41 52 43 5f 53 45 54 define ISARC_SET
0350: 5f 43 55 52 53 4f 52 5f 49 4e 54 45 52 56 41 4c _CURSOR_INTERVAL
0360: 09 09 33 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 ..3..#define ISA
0370: 52 43 5f 47 45 54 5f 42 41 43 4b 5f 47 52 4f 55 RC_GET_BACK_GROU
0380: 4e 44 5f 4d 4f 44 45 09 09 34 0d 0a 23 64 65 66 ND_MODE..4..#def
0390: 69 6e 65 20 49 53 41 52 43 5f 53 45 54 5f 42 41 ine ISARC_SET_BA
03a0: 43 4b 5f 47 52 4f 55 4e 44 5f 4d 4f 44 45 09 09 CK_GROUND_MODE..
03b0: 35 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5..#define ISARC
03c0: 5f 47 45 54 5f 43 55 52 53 4f 52 5f 4d 4f 44 45 _GET_CURSOR_MODE
03d0: 09 09 09 36 0d 0a 23 64 65 66 69 6e 65 20 49 53 ...6..#define IS
03e0: 41 52 43 5f 53 45 54 5f 43 55 52 53 4f 52 5f 4d ARC_SET_CURSOR_M
03f0: 4f 44 45 09 09 09 37 0d 0a 23 64 65 66 69 6e 65 ODE...7..#define
0400: 20 49 53 41 52 43 5f 47 45 54 5f 52 55 4e 4e 49 ISARC_GET_RUNNI
0410: 4e 47 09 09 09 09 38 0d 0a 0d 0a 23 64 65 66 69 NG....8....#defi
0420: 6e 65 20 49 53 41 52 43 5f 43 48 45 43 4b 5f 41 ne ISARC_CHECK_A
0430: 52 43 48 49 56 45 09 09 09 09 31 36 0d 0a 23 64 RCHIVE....16..#d
0440: 65 66 69 6e 65 20 49 53 41 52 43 5f 43 4f 4e 46 efine ISARC_CONF
0450: 49 47 5f 44 49 41 4c 4f 47 09 09 09 09 31 37 0d IG_DIALOG....17.
0460: 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 47 .#define ISARC_G
0470: 45 54 5f 46 49 4c 45 5f 43 4f 55 4e 54 09 09 09 ET_FILE_COUNT...
0480: 31 38 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 18..#define ISAR
0490: 43 5f 51 55 45 52 59 5f 46 55 4e 43 54 49 4f 4e C_QUERY_FUNCTION
04a0: 5f 4c 49 53 54 09 09 31 39 0d 0a 23 64 65 66 69 _LIST..19..#defi
04b0: 6e 65 20 49 53 41 52 43 5f 48 4f 55 54 09 09 09 ne ISARC_HOUT...
04c0: 09 09 09 32 30 0d 0a 23 64 65 66 69 6e 65 20 49 ...20..#define I
04d0: 53 41 52 43 5f 53 54 52 55 43 54 4f 55 54 09 09 SARC_STRUCTOUT..
04e0: 09 09 09 32 31 0d 0a 23 64 65 66 69 6e 65 20 49 ...21..#define I
04f0: 53 41 52 43 5f 47 45 54 5f 41 52 43 5f 46 49 4c SARC_GET_ARC_FIL
0500: 45 5f 49 4e 46 4f 09 09 09 32 32 0d 0a 0d 0a 23 E_INFO...22....#
0510: 64 65 66 69 6e 65 20 49 53 41 52 43 5f 4f 50 45 define ISARC_OPE
0520: 4e 5f 41 52 43 48 49 56 45 09 09 09 09 32 33 0d N_ARCHIVE....23.
0530: 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 43 .#define ISARC_C
0540: 4c 4f 53 45 5f 41 52 43 48 49 56 45 09 09 09 09 LOSE_ARCHIVE....
0550: 32 34 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 24..#define ISAR
0560: 43 5f 46 49 4e 44 5f 46 49 52 53 54 09 09 09 09 C_FIND_FIRST....
0570: 32 35 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 25..#define ISAR
0580: 43 5f 46 49 4e 44 5f 4e 45 58 54 09 09 09 09 09 C_FIND_NEXT.....
0590: 32 36 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 26..#define ISAR
05a0: 43 5f 45 58 54 52 41 43 54 09 09 09 09 09 32 37 C_EXTRACT.....27
05b0: 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f ..#define ISARC_
05c0: 41 44 44 09 09 09 09 09 09 32 38 0d 0a 23 64 65 ADD......28..#de
05d0: 66 69 6e 65 20 49 53 41 52 43 5f 4d 4f 56 45 09 fine ISARC_MOVE.
05e0: 09 09 09 09 09 32 39 0d 0a 23 64 65 66 69 6e 65 .....29..#define
05f0: 20 49 53 41 52 43 5f 44 45 4c 45 54 45 09 09 09 ISARC_DELETE...
0600: 09 09 33 30 0d 0a 23 64 65 66 69 6e 65 20 49 53 ..30..#define IS
0610: 41 52 43 5f 53 45 54 4f 57 4e 45 52 57 49 4e 44 ARC_SETOWNERWIND
0620: 4f 57 09 09 09 33 31 0d 0a 23 64 65 66 69 6e 65 OW...31..#define
0630: 20 49 53 41 52 43 5f 43 4c 45 41 52 4f 57 4e 45 ISARC_CLEAROWNE
0640: 52 57 49 4e 44 4f 57 09 09 09 33 32 0d 0a 23 64 RWINDOW...32..#d
0650: 65 66 69 6e 65 20 49 53 41 52 43 5f 53 45 54 4f efine ISARC_SETO
0660: 57 4e 45 52 57 49 4e 44 4f 57 45 58 09 09 09 33 WNERWINDOWEX...3
0670: 33 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 3..#define ISARC
0680: 5f 4b 49 4c 4c 4f 57 4e 45 52 57 49 4e 44 4f 57 _KILLOWNERWINDOW
0690: 45 58 09 09 09 33 34 0d 0a 0d 0a 23 64 65 66 69 EX...34....#defi
06a0: 6e 65 20 49 53 41 52 43 5f 47 45 54 5f 41 52 43 ne ISARC_GET_ARC
06b0: 5f 46 49 4c 45 5f 4e 41 4d 45 09 09 09 34 30 0d _FILE_NAME...40.
06c0: 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 47 .#define ISARC_G
06d0: 45 54 5f 41 52 43 5f 46 49 4c 45 5f 53 49 5a 45 ET_ARC_FILE_SIZE
06e0: 09 09 09 34 31 0d 0a 23 64 65 66 69 6e 65 20 49 ...41..#define I
06f0: 53 41 52 43 5f 47 45 54 5f 41 52 43 5f 4f 52 49 SARC_GET_ARC_ORI
0700: 47 49 4e 41 4c 5f 53 49 5a 45 09 09 34 32 0d 0a GINAL_SIZE..42..
0710: 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 47 45 #define ISARC_GE
0720: 54 5f 41 52 43 5f 43 4f 4d 50 52 45 53 53 45 44 T_ARC_COMPRESSED
0730: 5f 53 49 5a 45 09 34 33 0d 0a 23 64 65 66 69 6e _SIZE.43..#defin
0740: 65 20 49 53 41 52 43 5f 47 45 54 5f 41 52 43 5f e ISARC_GET_ARC_
0750: 52 41 54 49 4f 09 09 09 09 34 34 0d 0a 23 64 65 RATIO....44..#de
0760: 66 69 6e 65 20 49 53 41 52 43 5f 47 45 54 5f 41 fine ISARC_GET_A
0770: 52 43 5f 44 41 54 45 09 09 09 09 34 35 0d 0a 23 RC_DATE....45..#
0780: 64 65 66 69 6e 65 20 49 53 41 52 43 5f 47 45 54 define ISARC_GET
0790: 5f 41 52 43 5f 54 49 4d 45 09 09 09 09 34 36 0d _ARC_TIME....46.
07a0: 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 47 .#define ISARC_G
07b0: 45 54 5f 41 52 43 5f 4f 53 5f 54 59 50 45 09 09 ET_ARC_OS_TYPE..
07c0: 09 34 37 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 .47..#define ISA
07d0: 52 43 5f 47 45 54 5f 41 52 43 5f 49 53 5f 53 46 RC_GET_ARC_IS_SF
07e0: 58 5f 46 49 4c 45 09 09 34 38 0d 0a 23 64 65 66 X_FILE..48..#def
07f0: 69 6e 65 20 49 53 41 52 43 5f 47 45 54 5f 41 52 ine ISARC_GET_AR
0800: 43 5f 57 52 49 54 45 5f 54 49 4d 45 5f 45 58 09 C_WRITE_TIME_EX.
0810: 09 34 39 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 .49..#define ISA
0820: 52 43 5f 47 45 54 5f 41 52 43 5f 43 52 45 41 54 RC_GET_ARC_CREAT
0830: 45 5f 54 49 4d 45 5f 45 58 09 35 30 0d 0a 23 64 E_TIME_EX.50..#d
0840: 65 66 69 6e 65 09 49 53 41 52 43 5f 47 45 54 5f efine.ISARC_GET_
0850: 41 52 43 5f 41 43 43 45 53 53 5f 54 49 4d 45 5f ARC_ACCESS_TIME_
0860: 45 58 09 35 31 0d 0a 23 64 65 66 69 6e 65 09 49 EX.51..#define.I
0870: 53 41 52 43 5f 47 45 54 5f 41 52 43 5f 43 52 45 SARC_GET_ARC_CRE
0880: 41 54 45 5f 54 49 4d 45 5f 45 58 32 09 35 32 0d ATE_TIME_EX2.52.
0890: 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 47 .#define ISARC_G
08a0: 45 54 5f 41 52 43 5f 57 52 49 54 45 5f 54 49 4d ET_ARC_WRITE_TIM
08b0: 45 5f 45 58 32 09 35 33 0d 0a 23 64 65 66 69 6e E_EX2.53..#defin
08c0: 65 20 49 53 41 52 43 5f 47 45 54 5f 46 49 4c 45 e ISARC_GET_FILE
08d0: 5f 4e 41 4d 45 09 09 09 09 35 37 0d 0a 23 64 65 _NAME....57..#de
08e0: 66 69 6e 65 20 49 53 41 52 43 5f 47 45 54 5f 4f fine ISARC_GET_O
08f0: 52 49 47 49 4e 41 4c 5f 53 49 5a 45 09 09 09 35 RIGINAL_SIZE...5
0900: 38 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 8..#define ISARC
0910: 5f 47 45 54 5f 43 4f 4d 50 52 45 53 53 45 44 5f _GET_COMPRESSED_
0920: 53 49 5a 45 09 09 35 39 0d 0a 23 64 65 66 69 6e SIZE..59..#defin
0930: 65 20 49 53 41 52 43 5f 47 45 54 5f 52 41 54 49 e ISARC_GET_RATI
0940: 4f 09 09 09 09 09 36 30 0d 0a 23 64 65 66 69 6e O.....60..#defin
0950: 65 20 49 53 41 52 43 5f 47 45 54 5f 44 41 54 45 e ISARC_GET_DATE
0960: 09 09 09 09 09 36 31 0d 0a 23 64 65 66 69 6e 65 .....61..#define
0970: 20 49 53 41 52 43 5f 47 45 54 5f 54 49 4d 45 09 ISARC_GET_TIME.
0980: 09 09 09 09 36 32 0d 0a 23 64 65 66 69 6e 65 20 ....62..#define
0990: 49 53 41 52 43 5f 47 45 54 5f 43 52 43 09 09 09 ISARC_GET_CRC...
09a0: 09 09 36 33 0d 0a 23 64 65 66 69 6e 65 20 49 53 ..63..#define IS
09b0: 41 52 43 5f 47 45 54 5f 41 54 54 52 49 42 55 54 ARC_GET_ATTRIBUT
09c0: 45 09 09 09 09 36 34 0d 0a 23 64 65 66 69 6e 65 E....64..#define
09d0: 20 49 53 41 52 43 5f 47 45 54 5f 4f 53 5f 54 59 ISARC_GET_OS_TY
09e0: 50 45 09 09 09 09 36 35 0d 0a 23 64 65 66 69 6e PE....65..#defin
09f0: 65 20 49 53 41 52 43 5f 47 45 54 5f 4d 45 54 48 e ISARC_GET_METH
0a00: 4f 44 09 09 09 09 36 36 0d 0a 23 64 65 66 69 6e OD....66..#defin
0a10: 65 20 49 53 41 52 43 5f 47 45 54 5f 57 52 49 54 e ISARC_GET_WRIT
0a20: 45 5f 54 49 4d 45 09 09 09 36 37 0d 0a 23 64 65 E_TIME...67..#de
0a30: 66 69 6e 65 20 49 53 41 52 43 5f 47 45 54 5f 43 fine ISARC_GET_C
0a40: 52 45 41 54 45 5f 54 49 4d 45 09 09 09 36 38 0d REATE_TIME...68.
0a50: 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 47 .#define ISARC_G
0a60: 45 54 5f 41 43 43 45 53 53 5f 54 49 4d 45 09 09 ET_ACCESS_TIME..
0a70: 09 36 39 0d 0a 23 64 65 66 69 6e 65 20 49 53 41 .69..#define ISA
0a80: 52 43 5f 47 45 54 5f 57 52 49 54 45 5f 54 49 4d RC_GET_WRITE_TIM
0a90: 45 5f 45 58 09 09 09 37 30 0d 0a 23 64 65 66 69 E_EX...70..#defi
0aa0: 6e 65 20 49 53 41 52 43 5f 47 45 54 5f 43 52 45 ne ISARC_GET_CRE
0ab0: 41 54 45 5f 54 49 4d 45 5f 45 58 09 09 37 31 0d ATE_TIME_EX..71.
0ac0: 0a 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 47 .#define ISARC_G
0ad0: 45 54 5f 41 43 43 45 53 53 5f 54 49 4d 45 5f 45 ET_ACCESS_TIME_E
0ae0: 58 09 09 37 32 0d 0a 23 64 65 66 69 6e 65 20 49 X..72..#define I
0af0: 53 41 52 43 5f 53 45 54 5f 45 4e 55 4d 5f 4d 45 SARC_SET_ENUM_ME
0b00: 4d 42 45 52 53 5f 50 52 4f 43 09 09 38 30 0d 0a MBERS_PROC..80..
0b10: 23 64 65 66 69 6e 65 20 49 53 41 52 43 5f 43 4c #define ISARC_CL
0b20: 45 41 52 5f 45 4e 55 4d 5f 4d 45 4d 42 45 52 53 EAR_ENUM_MEMBERS
0b30: 5f 50 52 4f 43 09 38 31 0d 0a 0d 0a 23 64 65 66 _PROC.81....#def
0b40: 69 6e 65 20 49 53 41 52 43 5f 46 55 4e 43 54 49 ine ISARC_FUNCTI
0b50: 4f 4e 5f 45 4e 44 09 09 09 09 38 31 0d 0a 23 65 ON_END....81..#e
0b60: 6e 64 69 66 0d 0a 0d 0a 2f 2f 20 45 52 52 4f 52 ndif....// ERROR
0b70: 0d 0a 23 69 66 20 21 64 65 66 69 6e 65 64 28 45 ..#if !defined(E
0b80: 52 52 4f 52 5f 53 54 41 52 54 29 0d 0a 23 64 65 RROR_START)..#de
0b90: 66 69 6e 65 20 45 52 52 4f 52 5f 53 54 41 52 54 fine ERROR_START
0ba0: 09 09 09 09 30 78 38 30 30 30 0d 0a 09 2f 2f 20 ....0x8000...//
0bb0: 77 61 72 6e 69 6e 67 0d 0a 23 64 65 66 69 6e 65 warning..#define
0bc0: 20 45 52 52 4f 52 5f 44 49 53 4b 5f 53 50 41 43 ERROR_DISK_SPAC
0bd0: 45 09 09 30 78 38 30 30 35 0d 0a 23 64 65 66 69 E..0x8005..#defi
0be0: 6e 65 20 45 52 52 4f 52 5f 52 45 41 44 5f 4f 4e ne ERROR_READ_ON
0bf0: 4c 59 09 09 09 30 78 38 30 30 36 0d 0a 23 64 65 LY...0x8006..#de
0c00: 66 69 6e 65 20 45 52 52 4f 52 5f 55 53 45 52 5f fine ERROR_USER_
0c10: 53 4b 49 50 09 09 09 30 78 38 30 30 37 0d 0a 23 SKIP...0x8007..#
0c20: 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 55 4e 4b define ERROR_UNK
0c30: 4e 4f 57 4e 5f 54 59 50 45 09 09 30 78 38 30 30 NOWN_TYPE..0x800
0c40: 38 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 8..#define ERROR
0c50: 5f 4d 45 54 48 4f 44 09 09 09 30 78 38 30 30 39 _METHOD...0x8009
0c60: 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f ..#define ERROR_
0c70: 50 41 53 53 57 4f 52 44 5f 46 49 4c 45 09 09 30 PASSWORD_FILE..0
0c80: 78 38 30 30 41 0d 0a 23 64 65 66 69 6e 65 20 45 x800A..#define E
0c90: 52 52 4f 52 5f 56 45 52 53 49 4f 4e 09 09 09 30 RROR_VERSION...0
0ca0: 78 38 30 30 42 0d 0a 23 64 65 66 69 6e 65 20 45 x800B..#define E
0cb0: 52 52 4f 52 5f 46 49 4c 45 5f 43 52 43 09 09 09 RROR_FILE_CRC...
0cc0: 30 78 38 30 30 43 0d 0a 23 64 65 66 69 6e 65 20 0x800C..#define
0cd0: 45 52 52 4f 52 5f 46 49 4c 45 5f 4f 50 45 4e 09 ERROR_FILE_OPEN.
0ce0: 09 09 30 78 38 30 30 44 0d 0a 23 64 65 66 69 6e ..0x800D..#defin
0cf0: 65 20 45 52 52 4f 52 5f 4d 4f 52 45 5f 46 52 45 e ERROR_MORE_FRE
0d00: 53 48 09 09 30 78 38 30 30 45 0d 0a 23 64 65 66 SH..0x800E..#def
0d10: 69 6e 65 20 45 52 52 4f 52 5f 4e 4f 54 5f 45 58 ine ERROR_NOT_EX
0d20: 49 53 54 09 09 09 30 78 38 30 30 46 0d 0a 23 64 IST...0x800F..#d
0d30: 65 66 69 6e 65 20 45 52 52 4f 52 5f 41 4c 52 45 efine ERROR_ALRE
0d40: 41 44 59 5f 45 58 49 53 54 09 09 30 78 38 30 31 ADY_EXIST..0x801
0d50: 30 0d 0a 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 0....#define ERR
0d60: 4f 52 5f 54 4f 4f 5f 4d 41 4e 59 5f 46 49 4c 45 OR_TOO_MANY_FILE
0d70: 53 09 30 78 38 30 31 31 0d 0a 09 2f 2f 20 65 72 S.0x8011...// er
0d80: 72 6f 72 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 ror..#define ERR
0d90: 4f 52 5f 4d 41 4b 45 44 49 52 45 43 54 4f 52 59 OR_MAKEDIRECTORY
0da0: 09 09 30 78 38 30 31 32 0d 0a 23 64 65 66 69 6e ..0x8012..#defin
0db0: 65 20 45 52 52 4f 52 5f 43 41 4e 4e 4f 54 5f 57 e ERROR_CANNOT_W
0dc0: 52 49 54 45 09 09 30 78 38 30 31 33 0d 0a 23 64 RITE..0x8013..#d
0dd0: 65 66 69 6e 65 20 45 52 52 4f 52 5f 48 55 46 46 efine ERROR_HUFF
0de0: 4d 41 4e 5f 43 4f 44 45 09 09 30 78 38 30 31 34 MAN_CODE..0x8014
0df0: 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f ..#define ERROR_
0e00: 43 4f 4d 4d 45 4e 54 5f 48 45 41 44 45 52 09 30 COMMENT_HEADER.0
0e10: 78 38 30 31 35 0d 0a 23 64 65 66 69 6e 65 20 45 x8015..#define E
0e20: 52 52 4f 52 5f 48 45 41 44 45 52 5f 43 52 43 09 RROR_HEADER_CRC.
0e30: 09 30 78 38 30 31 36 0d 0a 23 64 65 66 69 6e 65 .0x8016..#define
0e40: 20 45 52 52 4f 52 5f 48 45 41 44 45 52 5f 42 52 ERROR_HEADER_BR
0e50: 4f 4b 45 4e 09 09 30 78 38 30 31 37 0d 0a 23 64 OKEN..0x8017..#d
0e60: 65 66 69 6e 65 20 45 52 52 4f 52 5f 41 52 43 5f efine ERROR_ARC_
0e70: 46 49 4c 45 5f 4f 50 45 4e 09 09 30 78 38 30 31 FILE_OPEN..0x801
0e80: 38 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 8..#define ERROR
0e90: 5f 4e 4f 54 5f 41 52 43 5f 46 49 4c 45 09 09 30 _NOT_ARC_FILE..0
0ea0: 78 38 30 31 39 0d 0a 23 64 65 66 69 6e 65 20 45 x8019..#define E
0eb0: 52 52 4f 52 5f 43 41 4e 4e 4f 54 5f 52 45 41 44 RROR_CANNOT_READ
0ec0: 09 09 30 78 38 30 31 41 0d 0a 23 64 65 66 69 6e ..0x801A..#defin
0ed0: 65 20 45 52 52 4f 52 5f 46 49 4c 45 5f 53 54 59 e ERROR_FILE_STY
0ee0: 4c 45 09 09 30 78 38 30 31 42 0d 0a 23 64 65 66 LE..0x801B..#def
0ef0: 69 6e 65 20 45 52 52 4f 52 5f 43 4f 4d 4d 41 4e ine ERROR_COMMAN
0f00: 44 5f 4e 41 4d 45 09 09 30 78 38 30 31 43 0d 0a D_NAME..0x801C..
0f10: 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 4d 4f #define ERROR_MO
0f20: 52 45 5f 48 45 41 50 5f 4d 45 4d 4f 52 59 09 30 RE_HEAP_MEMORY.0
0f30: 78 38 30 31 44 0d 0a 23 64 65 66 69 6e 65 20 45 x801D..#define E
0f40: 52 52 4f 52 5f 45 4e 4f 55 47 48 5f 4d 45 4d 4f RROR_ENOUGH_MEMO
0f50: 52 59 09 09 30 78 38 30 31 45 0d 0a 23 69 66 20 RY..0x801E..#if
0f60: 21 64 65 66 69 6e 65 64 28 45 52 52 4f 52 5f 41 !defined(ERROR_A
0f70: 4c 52 45 41 44 59 5f 52 55 4e 4e 49 4e 47 29 0d LREADY_RUNNING).
0f80: 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 41 .#define ERROR_A
0f90: 4c 52 45 41 44 59 5f 52 55 4e 4e 49 4e 47 09 30 LREADY_RUNNING.0
0fa0: 78 38 30 31 46 0d 0a 23 65 6e 64 69 66 0d 0a 23 x801F..#endif..#
0fb0: 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 55 53 45 define ERROR_USE
0fc0: 52 5f 43 41 4e 43 45 4c 09 09 30 78 38 30 32 30 R_CANCEL..0x8020
0fd0: 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f ..#define ERROR_
0fe0: 48 41 52 43 5f 49 53 4e 4f 54 5f 4f 50 45 4e 45 HARC_ISNOT_OPENE
0ff0: 44 09 30 78 38 30 32 31 0d 0a 23 64 65 66 69 6e D.0x8021..#defin
1000: 65 20 45 52 52 4f 52 5f 4e 4f 54 5f 53 45 41 52 e ERROR_NOT_SEAR
1010: 43 48 5f 4d 4f 44 45 09 30 78 38 30 32 32 0d 0a CH_MODE.0x8022..
1020: 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 4e 4f #define ERROR_NO
1030: 54 5f 53 55 50 50 4f 52 54 09 09 30 78 38 30 32 T_SUPPORT..0x802
1040: 33 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 3..#define ERROR
1050: 5f 54 49 4d 45 5f 53 54 41 4d 50 09 09 30 78 38 _TIME_STAMP..0x8
1060: 30 32 34 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 024..#define ERR
1070: 4f 52 5f 54 4d 50 5f 4f 50 45 4e 09 09 09 30 78 OR_TMP_OPEN...0x
1080: 38 30 32 35 0d 0a 23 64 65 66 69 6e 65 20 45 52 8025..#define ER
1090: 52 4f 52 5f 4c 4f 4e 47 5f 46 49 4c 45 5f 4e 41 ROR_LONG_FILE_NA
10a0: 4d 45 09 30 78 38 30 32 36 0d 0a 23 64 65 66 69 ME.0x8026..#defi
10b0: 6e 65 20 45 52 52 4f 52 5f 41 52 43 5f 52 45 41 ne ERROR_ARC_REA
10c0: 44 5f 4f 4e 4c 59 09 09 30 78 38 30 32 37 0d 0a D_ONLY..0x8027..
10d0: 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 53 41 #define ERROR_SA
10e0: 4d 45 5f 4e 41 4d 45 5f 46 49 4c 45 09 30 78 38 ME_NAME_FILE.0x8
10f0: 30 32 38 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 028..#define ERR
1100: 4f 52 5f 4e 4f 54 5f 46 49 4e 44 5f 41 52 43 5f OR_NOT_FIND_ARC_
1110: 46 49 4c 45 20 30 78 38 30 32 39 0d 0a 23 64 65 FILE 0x8029..#de
1120: 66 69 6e 65 20 45 52 52 4f 52 5f 52 45 53 50 4f fine ERROR_RESPO
1130: 4e 53 45 5f 52 45 41 44 09 09 30 78 38 30 32 41 NSE_READ..0x802A
1140: 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f ..#define ERROR_
1150: 4e 4f 54 5f 46 49 4c 45 4e 41 4d 45 09 09 30 78 NOT_FILENAME..0x
1160: 38 30 32 42 0d 0a 23 64 65 66 69 6e 65 20 45 52 802B..#define ER
1170: 52 4f 52 5f 54 4d 50 5f 43 4f 50 59 09 09 09 30 ROR_TMP_COPY...0
1180: 78 38 30 32 43 0d 0a 23 64 65 66 69 6e 65 20 45 x802C..#define E
1190: 52 52 4f 52 5f 45 4f 46 09 09 09 09 30 78 38 30 RROR_EOF....0x80
11a0: 32 44 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 2D..#define ERRO
11b0: 52 5f 41 44 44 5f 54 4f 5f 4c 41 52 43 09 09 30 R_ADD_TO_LARC..0
11c0: 78 38 30 32 45 0d 0a 23 64 65 66 69 6e 65 20 45 x802E..#define E
11d0: 52 52 4f 52 5f 54 4d 50 5f 42 41 43 4b 5f 53 50 RROR_TMP_BACK_SP
11e0: 41 43 45 09 30 78 38 30 32 46 0d 0a 23 64 65 66 ACE.0x802F..#def
11f0: 69 6e 65 20 45 52 52 4f 52 5f 53 48 41 52 49 4e ine ERROR_SHARIN
1200: 47 09 09 09 30 78 38 30 33 30 0d 0a 23 64 65 66 G...0x8030..#def
1210: 69 6e 65 20 45 52 52 4f 52 5f 4e 4f 54 5f 46 49 ine ERROR_NOT_FI
1220: 4e 44 5f 46 49 4c 45 09 09 30 78 38 30 33 31 0d ND_FILE..0x8031.
1230: 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 4c .#define ERROR_L
1240: 4f 47 5f 46 49 4c 45 09 09 09 30 78 38 30 33 32 OG_FILE...0x8032
1250: 0d 0a 23 64 65 66 69 6e 65 09 45 52 52 4f 52 5f ..#define.ERROR_
1260: 4e 4f 5f 44 45 56 49 43 45 09 09 09 30 78 38 30 NO_DEVICE...0x80
1270: 33 33 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 33..#define ERRO
1280: 52 5f 47 45 54 5f 41 54 54 52 49 42 55 54 45 53 R_GET_ATTRIBUTES
1290: 09 30 78 38 30 33 34 0d 0a 23 64 65 66 69 6e 65 .0x8034..#define
12a0: 20 45 52 52 4f 52 5f 53 45 54 5f 41 54 54 52 49 ERROR_SET_ATTRI
12b0: 42 55 54 45 53 09 30 78 38 30 33 35 0d 0a 23 64 BUTES.0x8035..#d
12c0: 65 66 69 6e 65 20 45 52 52 4f 52 5f 47 45 54 5f efine ERROR_GET_
12d0: 49 4e 46 4f 52 4d 41 54 49 4f 4e 09 30 78 38 30 INFORMATION.0x80
12e0: 33 36 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 36..#define ERRO
12f0: 52 5f 47 45 54 5f 50 4f 49 4e 54 09 09 09 30 78 R_GET_POINT...0x
1300: 38 30 33 37 0d 0a 23 64 65 66 69 6e 65 20 45 52 8037..#define ER
1310: 52 4f 52 5f 53 45 54 5f 50 4f 49 4e 54 09 09 09 ROR_SET_POINT...
1320: 30 78 38 30 33 38 0d 0a 23 64 65 66 69 6e 65 20 0x8038..#define
1330: 45 52 52 4f 52 5f 43 4f 4e 56 45 52 54 5f 54 49 ERROR_CONVERT_TI
1340: 4d 45 09 09 30 78 38 30 33 39 0d 0a 23 64 65 66 ME..0x8039..#def
1350: 69 6e 65 20 45 52 52 4f 52 5f 47 45 54 5f 54 49 ine ERROR_GET_TI
1360: 4d 45 09 09 09 30 78 38 30 33 61 0d 0a 23 64 65 ME...0x803a..#de
1370: 66 69 6e 65 20 45 52 52 4f 52 5f 53 45 54 5f 54 fine ERROR_SET_T
1380: 49 4d 45 09 09 09 30 78 38 30 33 62 0d 0a 23 64 IME...0x803b..#d
1390: 65 66 69 6e 65 20 45 52 52 4f 52 5f 43 4c 4f 53 efine ERROR_CLOS
13a0: 45 5f 46 49 4c 45 09 09 30 78 38 30 33 63 0d 0a E_FILE..0x803c..
13b0: 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 48 45 #define ERROR_HE
13c0: 41 50 5f 4d 45 4d 4f 52 59 09 09 30 78 38 30 33 AP_MEMORY..0x803
13d0: 64 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 d..#define ERROR
13e0: 5f 48 41 4e 44 4c 45 09 09 09 30 78 38 30 33 65 _HANDLE...0x803e
13f0: 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 4f 52 5f ..#define ERROR_
1400: 54 49 4d 45 5f 53 54 41 4d 50 5f 52 41 4e 47 45 TIME_STAMP_RANGE
1410: 09 30 78 38 30 33 66 0d 0a 23 64 65 66 69 6e 65 .0x803f..#define
1420: 20 45 52 52 4f 52 5f 4d 41 4b 45 5f 41 52 43 48 ERROR_MAKE_ARCH
1430: 49 56 45 09 09 30 78 38 30 34 30 0d 0a 0d 0a 23 IVE..0x8040....#
1440: 64 65 66 69 6e 65 20 45 52 52 4f 52 5f 45 4e 44 define ERROR_END
1450: 09 45 52 52 4f 52 5f 4d 41 4b 45 5f 41 52 43 48 .ERROR_MAKE_ARCH
1460: 49 56 45 0d 0a 23 64 65 66 69 6e 65 20 45 52 52 IVE..#define ERR
1470: 4f 52 5f 42 55 46 5f 54 4f 4f 5f 53 4d 41 4c 4c OR_BUF_TOO_SMALL
1480: 09 09 30 78 38 30 34 31 20 2f 2a 2a 2f 0d 0a 23 ..0x8041 /**/..#
1490: 65 6e 64 69 66 0d 0a 0d 0a 2f 2f 20 43 4f 4e 46 endif....// CONF
14a0: 49 47 0d 0a 23 69 66 20 21 64 65 66 69 6e 65 64 IG..#if !defined
14b0: 28 55 4e 50 41 43 4b 5f 43 4f 4e 46 49 47 5f 4d (UNPACK_CONFIG_M
14c0: 4f 44 45 29 0d 0a 23 64 65 66 69 6e 65 09 55 4e ODE)..#define.UN
14d0: 50 41 43 4b 5f 43 4f 4e 46 49 47 5f 4d 4f 44 45 PACK_CONFIG_MODE
14e0: 09 31 0d 0a 23 64 65 66 69 6e 65 09 50 41 43 4b .1..#define.PACK
14f0: 5f 43 4f 4e 46 49 47 5f 4d 4f 44 45 09 32 0d 0a _CONFIG_MODE.2..
1500: 23 65 6e 64 69 66 0d 0a 0d 0a 2f 2f 20 4f 50 45 #endif....// OPE
1510: 4e 41 52 43 48 49 56 45 0d 0a 23 69 66 20 21 64 NARCHIVE..#if !d
1520: 65 66 69 6e 65 64 28 45 58 54 52 41 43 54 5f 46 efined(EXTRACT_F
1530: 4f 55 4e 44 5f 46 49 4c 45 29 0d 0a 23 64 65 66 OUND_FILE)..#def
1540: 69 6e 65 20 4d 5f 49 4e 49 54 5f 46 49 4c 45 5f ine M_INIT_FILE_
1550: 55 53 45 09 09 09 30 78 30 30 30 30 30 30 30 31 USE...0x00000001
1560: 4c 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 52 45 47 L..#define M_REG
1570: 41 52 44 4c 45 53 53 5f 49 4e 49 54 5f 46 49 4c ARDLESS_INIT_FIL
1580: 45 09 30 78 30 30 30 30 30 30 30 32 4c 0d 0a 23 E.0x00000002L..#
1590: 64 65 66 69 6e 65 20 4d 5f 4e 4f 5f 42 41 43 4b define M_NO_BACK
15a0: 47 52 4f 55 4e 44 5f 4d 4f 44 45 09 30 78 30 30 GROUND_MODE.0x00
15b0: 30 30 30 30 30 34 4c 0d 0a 23 64 65 66 69 6e 65 000004L..#define
15c0: 20 4d 5f 4e 4f 54 5f 55 53 45 5f 54 49 4d 45 5f M_NOT_USE_TIME_
15d0: 53 54 41 4d 50 09 30 78 30 30 30 30 30 30 30 38 STAMP.0x00000008
15e0: 4c 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 45 58 54 L..#define M_EXT
15f0: 52 41 43 54 5f 52 45 50 4c 41 43 45 5f 46 49 4c RACT_REPLACE_FIL
1600: 45 09 30 78 30 30 30 30 30 30 31 30 4c 0d 0a 23 E.0x00000010L..#
1610: 64 65 66 69 6e 65 20 4d 5f 45 58 54 52 41 43 54 define M_EXTRACT
1620: 5f 4e 45 57 5f 46 49 4c 45 09 09 30 78 30 30 30 _NEW_FILE..0x000
1630: 30 30 30 32 30 4c 0d 0a 23 64 65 66 69 6e 65 20 00020L..#define
1640: 4d 5f 45 58 54 52 41 43 54 5f 55 50 44 41 54 45 M_EXTRACT_UPDATE
1650: 5f 46 49 4c 45 09 30 78 30 30 30 30 30 30 34 30 _FILE.0x00000040
1660: 4c 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 43 48 45 L..#define M_CHE
1670: 43 4b 5f 41 4c 4c 5f 50 41 54 48 09 09 30 78 30 CK_ALL_PATH..0x0
1680: 30 30 30 30 31 30 30 4c 0d 0a 23 64 65 66 69 6e 0000100L..#defin
1690: 65 20 4d 5f 43 48 45 43 4b 5f 46 49 4c 45 4e 41 e M_CHECK_FILENA
16a0: 4d 45 5f 4f 4e 4c 59 09 30 78 30 30 30 30 30 32 ME_ONLY.0x000002
16b0: 30 30 4c 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 43 00L..#define M_C
16c0: 48 45 43 4b 5f 44 49 53 4b 5f 53 49 5a 45 09 09 HECK_DISK_SIZE..
16d0: 30 78 30 30 30 30 30 34 30 30 4c 0d 0a 23 64 65 0x00000400L..#de
16e0: 66 69 6e 65 20 4d 5f 52 45 47 41 52 44 4c 45 53 fine M_REGARDLES
16f0: 53 5f 44 49 53 4b 5f 53 49 5a 45 09 30 78 30 30 S_DISK_SIZE.0x00
1700: 30 30 30 38 30 30 4c 0d 0a 23 64 65 66 69 6e 65 000800L..#define
1710: 20 4d 5f 55 53 45 5f 44 52 49 56 45 5f 4c 45 54 M_USE_DRIVE_LET
1720: 54 45 52 09 09 30 78 30 30 30 30 31 30 30 30 4c TER..0x00001000L
1730: 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 4e 4f 54 5f ..#define M_NOT_
1740: 55 53 45 5f 44 52 49 56 45 5f 4c 45 54 54 45 52 USE_DRIVE_LETTER
1750: 09 30 78 30 30 30 30 32 30 30 30 4c 0d 0a 23 64 .0x00002000L..#d
1760: 65 66 69 6e 65 20 4d 5f 49 4e 51 55 49 52 45 5f efine M_INQUIRE_
1770: 44 49 52 45 43 54 4f 52 59 09 09 30 78 30 30 30 DIRECTORY..0x000
1780: 30 34 30 30 30 4c 0d 0a 23 64 65 66 69 6e 65 20 04000L..#define
1790: 4d 5f 4e 4f 54 5f 49 4e 51 55 49 52 45 5f 44 49 M_NOT_INQUIRE_DI
17a0: 52 45 43 54 4f 52 59 20 30 78 30 30 30 30 38 30 RECTORY 0x000080
17b0: 30 30 4c 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 49 00L..#define M_I
17c0: 4e 51 55 49 52 45 5f 57 52 49 54 45 09 09 09 30 NQUIRE_WRITE...0
17d0: 78 30 30 30 31 30 30 30 30 4c 0d 0a 23 64 65 66 x00010000L..#def
17e0: 69 6e 65 20 4d 5f 4e 4f 54 5f 49 4e 51 55 49 52 ine M_NOT_INQUIR
17f0: 45 5f 57 52 49 54 45 09 09 30 78 30 30 30 32 30 E_WRITE..0x00020
1800: 30 30 30 4c 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 000L..#define M_
1810: 43 48 45 43 4b 5f 52 45 41 44 4f 4e 4c 59 09 09 CHECK_READONLY..
1820: 30 78 30 30 30 34 30 30 30 30 4c 0d 0a 23 64 65 0x00040000L..#de
1830: 66 69 6e 65 20 4d 5f 52 45 47 41 52 44 4c 45 53 fine M_REGARDLES
1840: 53 5f 52 45 41 44 4f 4e 4c 59 09 30 78 30 30 30 S_READONLY.0x000
1850: 38 30 30 30 30 4c 0d 0a 23 64 65 66 69 6e 65 20 80000L..#define
1860: 4d 5f 52 45 47 41 52 44 5f 45 5f 43 4f 4d 4d 41 M_REGARD_E_COMMA
1870: 4e 44 09 09 30 78 30 30 31 30 30 30 30 30 4c 0d ND..0x00100000L.
1880: 0a 23 64 65 66 69 6e 65 20 4d 5f 52 45 47 41 52 .#define M_REGAR
1890: 44 5f 58 5f 43 4f 4d 4d 41 4e 44 09 09 30 78 30 D_X_COMMAND..0x0
18a0: 30 32 30 30 30 30 30 4c 0d 0a 23 64 65 66 69 6e 0200000L..#defin
18b0: 65 20 4d 5f 45 52 52 4f 52 5f 4d 45 53 53 41 47 e M_ERROR_MESSAG
18c0: 45 5f 4f 4e 09 09 30 78 30 30 34 30 30 30 30 30 E_ON..0x00400000
18d0: 4c 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 45 52 52 L..#define M_ERR
18e0: 4f 52 5f 4d 45 53 53 41 47 45 5f 4f 46 46 09 09 OR_MESSAGE_OFF..
18f0: 30 78 30 30 38 30 30 30 30 30 4c 0d 0a 23 64 65 0x00800000L..#de
1900: 66 69 6e 65 20 4d 5f 42 41 52 5f 57 49 4e 44 4f fine M_BAR_WINDO
1910: 57 5f 4f 4e 09 09 09 30 78 30 31 30 30 30 30 30 W_ON...0x0100000
1920: 30 4c 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 42 41 0L..#define M_BA
1930: 52 5f 57 49 4e 44 4f 57 5f 4f 46 46 09 09 30 78 R_WINDOW_OFF..0x
1940: 30 32 30 30 30 30 30 30 4c 0d 0a 23 64 65 66 69 02000000L..#defi
1950: 6e 65 20 4d 5f 43 48 45 43 4b 5f 50 41 54 48 09 ne M_CHECK_PATH.
1960: 09 09 30 78 30 34 30 30 30 30 30 30 4c 0d 0a 23 ..0x04000000L..#
1970: 64 65 66 69 6e 65 20 4d 5f 52 45 43 4f 56 45 52 define M_RECOVER
1980: 59 5f 4f 4e 09 09 09 30 78 30 38 30 30 30 30 30 Y_ON...0x0800000
1990: 30 4c 0d 0a 0d 0a 23 64 65 66 69 6e 65 20 4d 5f 0L....#define M_
19a0: 4d 41 4b 45 5f 49 4e 44 45 58 5f 46 49 4c 45 09 MAKE_INDEX_FILE.
19b0: 09 30 78 31 30 30 30 30 30 30 30 4c 0d 0a 23 64 .0x10000000L..#d
19c0: 65 66 69 6e 65 20 4d 5f 4e 4f 54 5f 4d 41 4b 45 efine M_NOT_MAKE
19d0: 5f 49 4e 44 45 58 5f 46 49 4c 45 09 30 78 32 30 _INDEX_FILE.0x20
19e0: 30 30 30 30 30 30 4c 0d 0a 23 64 65 66 69 6e 65 000000L..#define
19f0: 20 45 58 54 52 41 43 54 5f 46 4f 55 4e 44 5f 46 EXTRACT_FOUND_F
1a00: 49 4c 45 09 09 30 78 34 30 30 30 30 30 30 30 4c ILE..0x40000000L
1a10: 0d 0a 23 64 65 66 69 6e 65 20 45 58 54 52 41 43 ..#define EXTRAC
1a20: 54 5f 4e 41 4d 45 44 5f 46 49 4c 45 09 09 30 78 T_NAMED_FILE..0x
1a30: 38 30 30 30 30 30 30 30 4c 0d 0a 23 65 6e 64 69 80000000L..#endi
1a40: 66 0d 0a 0d 0a 2f 2f 20 41 54 54 52 49 42 55 54 f....// ATTRIBUT
1a50: 45 0d 0a 23 69 66 6e 64 65 66 20 46 41 5f 52 44 E..#ifndef FA_RD
1a60: 4f 4e 4c 59 0d 0a 23 64 65 66 69 6e 65 20 46 41 ONLY..#define FA
1a70: 5f 52 44 4f 4e 4c 59 20 20 20 20 20 20 20 30 78 _RDONLY 0x
1a80: 30 31 0d 0a 23 64 65 66 69 6e 65 20 46 41 5f 48 01..#define FA_H
1a90: 49 44 44 45 4e 20 20 20 20 20 20 20 30 78 30 32 IDDEN 0x02
1aa0: 0d 0a 23 64 65 66 69 6e 65 20 46 41 5f 53 59 53 ..#define FA_SYS
1ab0: 54 45 4d 20 20 20 20 20 20 20 30 78 30 34 0d 0a TEM 0x04..
1ac0: 23 64 65 66 69 6e 65 20 46 41 5f 4c 41 42 45 4c #define FA_LABEL
1ad0: 20 20 20 20 20 20 20 20 30 78 30 38 0d 0a 23 64 0x08..#d
1ae0: 65 66 69 6e 65 20 46 41 5f 44 49 52 45 43 20 20 efine FA_DIREC
1af0: 20 20 20 20 20 20 30 78 31 30 0d 0a 23 64 65 66 0x10..#def
1b00: 69 6e 65 20 46 41 5f 41 52 43 48 20 20 20 20 20 ine FA_ARCH
1b10: 20 20 20 20 30 78 32 30 0d 0a 23 65 6e 64 69 66 0x20..#endif
1b20: 0d 0a 23 69 66 6e 64 65 66 20 46 41 5f 45 4e 43 ..#ifndef FA_ENC
1b30: 52 59 50 54 45 44 0d 0a 23 64 65 66 69 6e 65 20 RYPTED..#define
1b40: 46 41 5f 45 4e 43 52 59 50 54 45 44 20 20 20 20 FA_ENCRYPTED
1b50: 30 78 34 30 0d 0a 23 65 6e 64 69 66 0d 0a 0d 0a 0x40..#endif....
1b60: 2f 2f 20 53 54 52 55 43 54 55 52 45 53 0d 0a 23 // STRUCTURES..#
1b70: 69 66 20 64 65 66 69 6e 65 64 28 5f 5f 42 4f 52 if defined(__BOR
1b80: 4c 41 4e 44 43 5f 5f 29 0d 0a 23 70 72 61 67 6d LANDC__)..#pragm
1b90: 61 20 6f 70 74 69 6f 6e 20 2d 61 2d 0d 0a 23 65 a option -a-..#e
1ba0: 6c 73 65 0d 0a 23 70 72 61 67 6d 61 20 70 61 63 lse..#pragma pac
1bb0: 6b 28 31 29 0d 0a 23 65 6e 64 69 66 0d 0a 0d 0a k(1)..#endif....
1bc0: 74 79 70 65 64 65 66 09 48 47 4c 4f 42 41 4c 09 typedef.HGLOBAL.
1bd0: 48 41 52 43 48 49 56 45 3b 0d 0a 0d 0a 23 69 66 HARCHIVE;....#if
1be0: 6e 64 65 66 20 41 52 43 5f 44 45 43 53 54 52 41 ndef ARC_DECSTRA
1bf0: 43 54 0d 0a 23 64 65 66 69 6e 65 20 41 52 43 5f CT..#define ARC_
1c00: 44 45 43 53 54 52 41 43 54 0d 0a 74 79 70 65 64 DECSTRACT..typed
1c10: 65 66 09 48 47 4c 4f 42 41 4c 09 48 41 52 43 3b ef.HGLOBAL.HARC;
1c20: 0d 0a 0d 0a 74 79 70 65 64 65 66 20 73 74 72 75 ....typedef stru
1c30: 63 74 20 7b 0d 0a 09 44 57 4f 52 44 09 64 77 4f ct {...DWORD.dwO
1c40: 72 69 67 69 6e 61 6c 53 69 7a 65 3b 0d 0a 09 44 riginalSize;...D
1c50: 57 4f 52 44 09 64 77 43 6f 6d 70 72 65 73 73 65 WORD.dwCompresse
1c60: 64 53 69 7a 65 3b 0d 0a 09 44 57 4f 52 44 09 64 dSize;...DWORD.d
1c70: 77 43 52 43 3b 0d 0a 09 55 49 4e 54 09 75 46 6c wCRC;...UINT.uFl
1c80: 61 67 3b 0d 0a 09 55 49 4e 54 09 75 4f 53 54 79 ag;...UINT.uOSTy
1c90: 70 65 3b 0d 0a 09 57 4f 52 44 09 77 52 61 74 69 pe;...WORD.wRati
1ca0: 6f 3b 0d 0a 09 57 4f 52 44 09 77 44 61 74 65 3b o;...WORD.wDate;
1cb0: 0d 0a 09 57 4f 52 44 09 77 54 69 6d 65 3b 0d 0a ...WORD.wTime;..
1cc0: 09 63 68 61 72 09 73 7a 46 69 6c 65 4e 61 6d 65 .char.szFileName
1cd0: 5b 46 4e 41 4d 45 5f 4d 41 58 33 32 20 2b 20 31 [FNAME_MAX32 + 1
1ce0: 5d 3b 0d 0a 09 63 68 61 72 09 64 75 6d 6d 79 31 ];...char.dummy1
1cf0: 5b 33 5d 3b 0d 0a 09 63 68 61 72 09 73 7a 41 74 [3];...char.szAt
1d00: 74 72 69 62 75 74 65 5b 38 5d 3b 0d 0a 09 63 68 tribute[8];...ch
1d10: 61 72 09 73 7a 4d 6f 64 65 5b 38 5d 3b 0d 0a 7d ar.szMode[8];..}
1d20: 20 49 4e 44 49 56 49 44 55 41 4c 49 4e 46 4f 2c INDIVIDUALINFO,
1d30: 20 46 41 52 20 2a 4c 50 49 4e 44 49 56 49 44 55 FAR *LPINDIVIDU
1d40: 41 4c 49 4e 46 4f 3b 0d 0a 0d 0a 74 79 70 65 64 ALINFO;....typed
1d50: 65 66 20 73 74 72 75 63 74 20 7b 0d 0a 09 44 57 ef struct {...DW
1d60: 4f 52 44 09 64 77 46 69 6c 65 53 69 7a 65 3b 0d ORD.dwFileSize;.
1d70: 0a 09 44 57 4f 52 44 09 64 77 57 72 69 74 65 53 ..DWORD.dwWriteS
1d80: 69 7a 65 3b 0d 0a 09 63 68 61 72 09 73 7a 53 6f ize;...char.szSo
1d90: 75 72 63 65 46 69 6c 65 4e 61 6d 65 5b 46 4e 41 urceFileName[FNA
1da0: 4d 45 5f 4d 41 58 33 32 20 2b 20 31 5d 3b 0d 0a ME_MAX32 + 1];..
1db0: 09 63 68 61 72 09 64 75 6d 6d 79 31 5b 33 5d 3b .char.dummy1[3];
1dc0: 0d 0a 09 63 68 61 72 09 73 7a 44 65 73 74 46 69 ...char.szDestFi
1dd0: 6c 65 4e 61 6d 65 5b 46 4e 41 4d 45 5f 4d 41 58 leName[FNAME_MAX
1de0: 33 32 20 2b 20 31 5d 3b 0d 0a 09 63 68 61 72 09 32 + 1];...char.
1df0: 64 75 6d 6d 79 5b 33 5d 3b 0d 0a 7d 20 45 58 54 dummy[3];..} EXT
1e00: 52 41 43 54 49 4e 47 49 4e 46 4f 2c 20 46 41 52 RACTINGINFO, FAR
1e10: 20 2a 4c 50 45 58 54 52 41 43 54 49 4e 47 49 4e *LPEXTRACTINGIN
1e20: 46 4f 3b 0d 0a 0d 0a 74 79 70 65 64 65 66 20 73 FO;....typedef s
1e30: 74 72 75 63 74 20 7b 0d 0a 09 45 58 54 52 41 43 truct {...EXTRAC
1e40: 54 49 4e 47 49 4e 46 4f 20 65 78 69 6e 66 6f 3b TINGINFO exinfo;
1e50: 0d 0a 09 44 57 4f 52 44 20 64 77 43 6f 6d 70 72 ...DWORD dwCompr
1e60: 65 73 73 65 64 53 69 7a 65 3b 0d 0a 09 44 57 4f essedSize;...DWO
1e70: 52 44 20 64 77 43 52 43 3b 0d 0a 09 55 49 4e 54 RD dwCRC;...UINT
1e80: 20 20 75 4f 53 54 79 70 65 3b 0d 0a 09 57 4f 52 uOSType;...WOR
1e90: 44 20 20 77 52 61 74 69 6f 3b 0d 0a 09 57 4f 52 D wRatio;...WOR
1ea0: 44 20 20 77 44 61 74 65 3b 0d 0a 09 57 4f 52 44 D wDate;...WORD
1eb0: 20 20 77 54 69 6d 65 3b 0d 0a 09 63 68 61 72 20 wTime;...char
1ec0: 20 73 7a 41 74 74 72 69 62 75 74 65 5b 38 5d 3b szAttribute[8];
1ed0: 0d 0a 09 63 68 61 72 20 20 73 7a 4d 6f 64 65 5b ...char szMode[
1ee0: 38 5d 3b 0d 0a 7d 20 45 58 54 52 41 43 54 49 4e 8];..} EXTRACTIN
1ef0: 47 49 4e 46 4f 45 58 2c 20 2a 4c 50 45 58 54 52 GINFOEX, *LPEXTR
1f00: 41 43 54 49 4e 47 49 4e 46 4f 45 58 3b 0d 0a 23 ACTINGINFOEX;..#
1f10: 65 6e 64 69 66 0d 0a 0d 0a 23 69 66 20 21 64 65 endif....#if !de
1f20: 66 69 6e 65 64 28 5f 5f 42 4f 52 4c 41 4e 44 43 fined(__BORLANDC
1f30: 5f 5f 29 0d 0a 23 70 72 61 67 6d 61 20 70 61 63 __)..#pragma pac
1f40: 6b 28 29 0d 0a 23 65 6c 73 65 0d 0a 23 70 72 61 k()..#else..#pra
1f50: 67 6d 61 20 6f 70 74 69 6f 6e 20 2d 61 2e 0d 0a gma option -a...
1f60: 23 65 6e 64 69 66 0d 0a 0d 0a 23 69 66 20 21 64 #endif....#if !d
1f70: 65 66 69 6e 65 64 28 5f 5f 42 4f 52 4c 41 4e 44 efined(__BORLAND
1f80: 43 5f 5f 29 0d 0a 23 64 65 66 69 6e 65 09 5f 65 C__)..#define._e
1f90: 78 70 6f 72 74 0d 0a 23 65 6e 64 69 66 0d 0a 0d xport..#endif...
1fa0: 0a 2f 2f 20 57 69 6e 64 6f 77 73 4d 65 73 73 61 .// WindowsMessa
1fb0: 67 65 0d 0a 23 69 66 6e 64 65 66 20 57 4d 5f 41 ge..#ifndef WM_A
1fc0: 52 43 45 58 54 52 41 43 54 0d 0a 23 64 65 66 69 RCEXTRACT..#defi
1fd0: 6e 65 09 57 4d 5f 41 52 43 45 58 54 52 41 43 54 ne.WM_ARCEXTRACT
1fe0: 09 22 77 6d 5f 61 72 63 65 78 74 72 61 63 74 22 ."wm_arcextract"
1ff0: 0d 0a 23 64 65 66 69 6e 65 09 41 52 43 45 58 54 ..#define.ARCEXT
2000: 52 41 43 54 5f 42 45 47 49 4e 09 09 30 0d 0a 23 RACT_BEGIN..0..#
2010: 64 65 66 69 6e 65 09 41 52 43 45 58 54 52 41 43 define.ARCEXTRAC
2020: 54 5f 49 4e 50 52 4f 43 45 53 53 09 31 0d 0a 23 T_INPROCESS.1..#
2030: 64 65 66 69 6e 65 09 41 52 43 45 58 54 52 41 43 define.ARCEXTRAC
2040: 54 5f 45 4e 44 09 09 09 32 0d 0a 23 64 65 66 69 T_END...2..#defi
2050: 6e 65 20 41 52 43 45 58 54 52 41 43 54 5f 4f 50 ne ARCEXTRACT_OP
2060: 45 4e 09 09 09 33 0d 0a 23 64 65 66 69 6e 65 20 EN...3..#define
2070: 41 52 43 45 58 54 52 41 43 54 5f 43 4f 50 59 09 ARCEXTRACT_COPY.
2080: 09 09 34 0d 0a 74 79 70 65 64 65 66 20 42 4f 4f ..4..typedef BOO
2090: 4c 20 43 41 4c 4c 42 41 43 4b 20 41 52 43 48 49 L CALLBACK ARCHI
20a0: 56 45 52 50 52 4f 43 28 48 57 4e 44 2c 55 49 4e VERPROC(HWND,UIN
20b0: 54 2c 55 49 4e 54 2c 4c 50 45 58 54 52 41 43 54 T,UINT,LPEXTRACT
20c0: 49 4e 47 49 4e 46 4f 45 58 29 3b 0d 0a 74 79 70 INGINFOEX);..typ
20d0: 65 64 65 66 20 41 52 43 48 49 56 45 52 50 52 4f edef ARCHIVERPRO
20e0: 43 20 2a 4c 50 41 52 43 48 49 56 45 52 50 52 4f C *LPARCHIVERPRO
20f0: 43 3b 0d 0a 23 65 6e 64 69 66 0d 0a 0d 0a 2f 2a C;..#endif..../*
2100: 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a =*=*=*=*=*=*=*=*
2110: 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a =*=*=*=*=*=*=*=*
2120: 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a =*=*=*=*=*=*=*=*
2130: 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a 3d 2a =*=*=*=*=*=*=*=*
2140: 3d 2a 3d 2a 3d 2a 2f 0d 0a 2f 2f 20 93 9d 8d 87 =*=*=*/..// ....
2150: 83 41 81 5b 83 4a 83 43 83 6f 44 4c 4c 82 f0 94 .A.[.J.C.oDLL...
2160: f1 8f ed 82 c9 94 96 82 ad 95 a2 82 a4 83 8c 83 ................
2170: 43 83 84 0d 0a 0d 0a 63 6c 61 73 73 20 6b 69 41 C......class kiA
2180: 72 63 44 4c 4c 52 61 77 20 20 0d 0a 7b 0d 0a 70 rcDLLRaw ..{..p
2190: 75 62 6c 69 63 3a 20 2f 2f 2d 2d 20 8a 4f 8c fc ublic: //-- .O..
21a0: 82 ab 83 43 83 93 83 5e 81 5b 83 74 83 46 83 43 ...C...^.[.t.F.C
21b0: 83 58 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .X -------------
21c0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 0d -------------...
21d0: 0a 09 2f 2f 20 44 4c 4c 96 bc 82 c5 8f 89 8a fa ..// DLL........
21e0: 89 bb 81 42 0d 0a 09 6b 69 41 72 63 44 4c 4c 52 ...B...kiArcDLLR
21f0: 61 77 28 20 63 6f 6e 73 74 20 63 68 61 72 2a 20 aw( const char*
2200: 64 6c 6c 6e 61 6d 65 20 29 3b 0d 0a 09 6b 69 50 dllname );...kiP
2210: 61 74 68 26 20 6e 61 6d 65 28 29 0d 0a 09 09 7b ath& name()....{
2220: 20 72 65 74 75 72 6e 20 6d 5f 44 6c 6c 50 61 74 return m_DllPat
2230: 68 3b 20 7d 0d 0a 0d 0a 09 2f 2f 20 44 4c 4c 82 h; }.....// DLL.
2240: aa 90 b6 82 ab 82 c4 82 a2 82 e9 82 a9 82 c7 82 ................
2250: a4 82 a9 81 42 0d 0a 09 62 6f 6f 6c 20 69 73 41 ....B...bool isA
2260: 6c 69 76 65 28 29 3b 0d 0a 0d 0a 09 2f 2f 20 41 live();.....// A
2270: 50 49 20 82 cc 83 89 83 62 83 70 20 5b 20 44 4c PI .....b.p [ DL
2280: 4c 82 e2 41 50 49 82 aa 96 b3 82 a2 82 c6 82 ab L..API..........
2290: 82 cc 95 d4 92 6c 20 5d 0d 0a 0d 0a 09 09 2f 2f .....l ]......//
22a0: 20 83 6f 81 5b 83 57 83 87 83 93 78 31 30 30 20 .o.[.W....x100
22b0: 5b 20 30 20 5d 0d 0a 09 09 57 4f 52 44 20 67 65 [ 0 ]....WORD ge
22c0: 74 56 65 72 28 29 3b 0d 0a 09 09 2f 2f 20 83 6f tVer();....// .o
22d0: 81 5b 83 57 83 87 83 93 83 54 83 75 78 31 30 30 .[.W.....T.ux100
22e0: 20 5b 20 30 20 5d 0d 0a 09 09 57 4f 52 44 20 67 [ 0 ]....WORD g
22f0: 65 74 56 65 72 53 75 62 28 29 3b 0d 0a 09 09 2f etVerSub();..../
2300: 2f 20 83 6f 81 5b 83 57 83 87 83 93 83 54 83 75 / .o.[.W.....T.u
2310: 82 aa 8e e6 82 ea 82 e9 82 a9 82 c7 82 a4 82 a9 ................
2320: 81 48 0d 0a 09 09 62 6f 6f 6c 20 69 73 56 65 72 .H....bool isVer
2330: 53 75 62 41 76 61 69 6c 28 29 3b 0d 0a 09 09 2f SubAvail();..../
2340: 2f 20 83 52 83 7d 83 93 83 68 91 97 82 e8 20 5b / .R.}...h.... [
2350: 20 45 52 52 4f 52 5f 4e 4f 54 5f 53 55 50 50 4f ERROR_NOT_SUPPO
2360: 52 54 20 5d 0d 0a 09 09 69 6e 74 20 63 6f 6d 6d RT ]....int comm
2370: 61 6e 64 28 20 63 6f 6e 73 74 20 48 57 4e 44 20 and( const HWND
2380: 77 6e 64 2c 20 4c 50 43 53 54 52 20 63 6d 64 2c wnd, LPCSTR cmd,
2390: 20 4c 50 53 54 52 20 62 75 66 2c 20 63 6f 6e 73 LPSTR buf, cons
23a0: 74 20 44 57 4f 52 44 20 73 69 7a 20 29 3b 0d 0a t DWORD siz );..
23b0: 09 09 2f 2f 20 8f 91 8c c9 83 60 83 46 83 62 83 ..// .....`.F.b.
23c0: 4e 20 5b 20 46 41 4c 53 45 20 5d 0d 0a 09 09 42 N [ FALSE ]....B
23d0: 4f 4f 4c 20 63 68 65 63 6b 28 20 4c 50 43 53 54 OOL check( LPCST
23e0: 52 20 66 69 6c 65 6e 61 6d 65 2c 20 63 6f 6e 73 R filename, cons
23f0: 74 20 69 6e 74 20 6d 6f 64 65 20 29 3b 0d 0a 0d t int mode );...
2400: 0a 09 09 2f 2f 20 8a 4a 82 ad 20 5b 20 4e 55 4c ...// .J.. [ NUL
2410: 4c 20 5d 0d 0a 09 09 48 41 52 43 20 6f 70 65 6e L ]....HARC open
2420: 41 72 63 28 20 63 6f 6e 73 74 20 48 57 4e 44 20 Arc( const HWND
2430: 77 6e 64 2c 20 4c 50 43 53 54 52 20 61 72 63 6e wnd, LPCSTR arcn
2440: 61 6d 65 2c 20 63 6f 6e 73 74 20 44 57 4f 52 44 ame, const DWORD
2450: 20 66 6c 61 67 20 29 3b 0d 0a 09 09 2f 2f 20 95 flag );....// .
2460: c2 82 b6 82 e9 0d 0a 09 09 76 6f 69 64 20 63 6c .........void cl
2470: 6f 73 65 41 72 63 28 20 48 41 52 43 20 61 72 63 oseArc( HARC arc
2480: 20 29 3b 0d 0a 09 09 2f 2f 20 88 ea 82 c2 96 da );....// ......
2490: 82 f0 8c 9f 8d f5 20 5b 20 45 52 52 4f 52 5f 4e ...... [ ERROR_N
24a0: 4f 54 5f 53 55 50 50 4f 52 54 20 5d 0d 0a 09 09 OT_SUPPORT ]....
24b0: 69 6e 74 20 66 69 6e 64 66 69 72 73 74 28 20 48 int findfirst( H
24c0: 41 52 43 20 61 72 63 2c 20 4c 50 43 53 54 52 20 ARC arc, LPCSTR
24d0: 77 69 6c 64 6e 61 6d 65 2c 20 49 4e 44 49 56 49 wildname, INDIVI
24e0: 44 55 41 4c 49 4e 46 4f 2a 20 69 6e 66 20 29 3b DUALINFO* inf );
24f0: 0d 0a 09 09 2f 2f 20 93 f1 82 c2 96 da 88 c8 8d ....// .........
2500: 7e 82 f0 8c 9f 8d f5 20 5b 20 45 52 52 4f 52 5f ~...... [ ERROR_
2510: 4e 4f 54 5f 53 55 50 50 4f 52 54 20 5d 0d 0a 09 NOT_SUPPORT ]...
2520: 09 69 6e 74 20 66 69 6e 64 6e 65 78 74 28 20 48 .int findnext( H
2530: 41 52 43 20 61 72 63 2c 20 49 4e 44 49 56 49 44 ARC arc, INDIVID
2540: 55 41 4c 49 4e 46 4f 2a 20 69 6e 66 20 29 3b 0d UALINFO* inf );.
2550: 0a 09 09 2f 2f 20 91 ae 90 ab 8e e6 93 be 20 5b ...// ........ [
2560: 20 30 20 5d 0d 0a 09 09 69 6e 74 20 67 65 74 41 0 ]....int getA
2570: 74 74 72 28 20 48 41 52 43 20 61 72 63 20 29 3b ttr( HARC arc );
2580: 0d 0a 0d 0a 09 09 2f 2f 20 83 49 81 5b 83 69 81 ......// .I.[.i.
2590: 5b 8e 77 92 e8 20 5b 20 46 41 4c 53 45 20 5d 0d [.w.. [ FALSE ].
25a0: 0a 09 09 42 4f 4f 4c 20 73 65 74 4f 77 6e 65 72 ...BOOL setOwner
25b0: 28 20 48 57 4e 44 20 77 6e 64 20 29 3b 0d 0a 09 ( HWND wnd );...
25c0: 09 2f 2f 20 83 49 81 5b 83 69 81 5b 89 f0 8f 9c .// .I.[.i.[....
25d0: 20 5b 20 46 41 4c 53 45 20 5d 0d 0a 09 09 42 4f [ FALSE ]....BO
25e0: 4f 4c 20 63 6c 65 61 72 4f 77 6e 65 72 28 29 3b OL clearOwner();
25f0: 0d 0a 0d 0a 09 2f 2f 20 81 a6 6c 6f 61 64 8c 6e .....// ..load.n
2600: 82 cd 8c c4 82 ce 82 c8 82 ad 82 c4 82 e0 93 e0 ................
2610: 95 94 82 c5 89 bd 82 c6 82 a9 82 b7 82 e9 82 cc ................
2620: 82 c5 82 c5 82 ab 82 ea 82 ce 8e 67 82 ed 82 c8 ...........g....
2630: 82 a2 82 b1 82 c6 81 42 0d 0a 09 62 6f 6f 6c 20 .......B...bool
2640: 6c 6f 61 64 28 29 3b 0d 0a 09 76 6f 69 64 20 75 load();...void u
2650: 6e 6c 6f 61 64 28 29 3b 0d 0a 0d 0a 70 72 69 76 nload();....priv
2660: 61 74 65 3a 20 2f 2f 2d 2d 20 93 e0 95 94 8f 88 ate: //-- ......
2670: 97 9d 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .. -------------
2680: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
2690: 2d 2d 2d 2d 2d 2d 0d 0a 0d 0a 09 48 49 4e 53 54 ------.....HINST
26a0: 41 4e 43 45 20 6d 5f 68 44 4c 4c 3b 0d 0a 09 62 ANCE m_hDLL;...b
26b0: 6f 6f 6c 20 6e 6f 74 5f 6c 6f 61 64 65 64 5f 79 ool not_loaded_y
26c0: 65 74 3b 0d 0a 0d 0a 09 6b 69 50 61 74 68 20 6d et;.....kiPath m
26d0: 5f 44 6c 6c 50 61 74 68 3b 0d 0a 09 6b 69 53 74 _DllPath;...kiSt
26e0: 72 20 6d 5f 44 6c 6c 4e 61 6d 65 42 6f 64 79 3b r m_DllNameBody;
26f0: 0d 0a 09 46 41 52 50 52 4f 43 20 67 65 74 50 72 ...FARPROC getPr
2700: 6f 63 28 20 63 6f 6e 73 74 20 63 68 61 72 2a 20 oc( const char*
2710: 70 72 6f 63 6e 61 6d 65 20 29 3b 0d 0a 0d 0a 09 procname );.....
2720: 46 41 52 50 52 4f 43 20 6d 5f 50 72 6f 63 5b 20 FARPROC m_Proc[
2730: 49 53 41 52 43 5f 46 55 4e 43 54 49 4f 4e 5f 45 ISARC_FUNCTION_E
2740: 4e 44 20 5d 3b 0d 0a 09 46 41 52 50 52 4f 43 20 ND ];...FARPROC
2750: 66 5f 56 53 62 3b 0d 0a 23 64 65 66 69 6e 65 20 f_VSb;..#define
2760: 66 5f 43 6d 64 20 6d 5f 50 72 6f 63 5b 20 49 53 f_Cmd m_Proc[ IS
2770: 41 52 43 20 5d 0d 0a 23 64 65 66 69 6e 65 20 66 ARC ]..#define f
2780: 5f 43 68 6b 20 6d 5f 50 72 6f 63 5b 20 49 53 41 _Chk m_Proc[ ISA
2790: 52 43 5f 47 45 54 5f 56 45 52 53 49 4f 4e 20 5d RC_GET_VERSION ]
27a0: 0d 0a 23 64 65 66 69 6e 65 20 66 5f 56 65 72 20 ..#define f_Ver
27b0: 6d 5f 50 72 6f 63 5b 20 49 53 41 52 43 5f 43 48 m_Proc[ ISARC_CH
27c0: 45 43 4b 5f 41 52 43 48 49 56 45 20 5d 0d 0a 23 ECK_ARCHIVE ]..#
27d0: 64 65 66 69 6e 65 20 66 5f 4f 70 6e 20 6d 5f 50 define f_Opn m_P
27e0: 72 6f 63 5b 20 49 53 41 52 43 5f 4f 50 45 4e 5f roc[ ISARC_OPEN_
27f0: 41 52 43 48 49 56 45 20 5d 0d 0a 23 64 65 66 69 ARCHIVE ]..#defi
2800: 6e 65 20 66 5f 43 6c 73 20 6d 5f 50 72 6f 63 5b ne f_Cls m_Proc[
2810: 20 49 53 41 52 43 5f 43 4c 4f 53 45 5f 41 52 43 ISARC_CLOSE_ARC
2820: 48 49 56 45 20 5d 0d 0a 23 64 65 66 69 6e 65 20 HIVE ]..#define
2830: 66 5f 46 66 73 20 6d 5f 50 72 6f 63 5b 20 49 53 f_Ffs m_Proc[ IS
2840: 41 52 43 5f 46 49 4e 44 5f 46 49 52 53 54 20 5d ARC_FIND_FIRST ]
2850: 0d 0a 23 64 65 66 69 6e 65 20 66 5f 46 6e 78 20 ..#define f_Fnx
2860: 6d 5f 50 72 6f 63 5b 20 49 53 41 52 43 5f 46 49 m_Proc[ ISARC_FI
2870: 4e 44 5f 4e 45 58 54 20 5d 0d 0a 23 64 65 66 69 ND_NEXT ]..#defi
2880: 6e 65 20 66 5f 47 41 72 20 6d 5f 50 72 6f 63 5b ne f_GAr m_Proc[
2890: 20 49 53 41 52 43 5f 47 45 54 5f 41 54 54 52 49 ISARC_GET_ATTRI
28a0: 42 55 54 45 20 5d 0d 0a 23 64 65 66 69 6e 65 20 BUTE ]..#define
28b0: 66 5f 53 4f 77 20 6d 5f 50 72 6f 63 5b 20 49 53 f_SOw m_Proc[ IS
28c0: 41 52 43 5f 53 45 54 4f 57 4e 45 52 57 49 4e 44 ARC_SETOWNERWIND
28d0: 4f 57 20 5d 0d 0a 23 64 65 66 69 6e 65 20 66 5f OW ]..#define f_
28e0: 43 4f 77 20 6d 5f 50 72 6f 63 5b 20 49 53 41 52 COw m_Proc[ ISAR
28f0: 43 5f 43 4c 45 41 52 4f 57 4e 45 52 57 49 4e 44 C_CLEAROWNERWIND
2900: 4f 57 20 5d 0d 0a 0d 0a 70 75 62 6c 69 63 3a 0d OW ]....public:.
2910: 0a 09 76 69 72 74 75 61 6c 20 7e 6b 69 41 72 63 ..virtual ~kiArc
2920: 44 4c 4c 52 61 77 28 29 3b 0d 0a 7d 3b 0d 0a 0d DLLRaw();..};...
2930: 0a 23 65 6e 64 69 66 0d 0a .#endif..