|
|
1.1 root 1: /*
2: ** lzdos.h - Public interface to LZEXP?.LIB.
3: */
4:
1.1.1.3 ! root 5: #ifndef _LZEXPAND_
! 6: #define _LZEXPAND_
! 7:
! 8: #ifdef __cplusplus
! 9: extern "C" {
! 10: #endif
1.1 root 11:
12: /*
13: ** Error Return Codes
14: */
15:
16: #define LZERROR_BADINHANDLE (-1) /* invalid input handle */
17: #define LZERROR_BADOUTHANDLE (-2) /* invalid output handle */
18: #define LZERROR_READ (-3) /* corrupt compressed file format */
19: #define LZERROR_WRITE (-4) /* out of space for output file */
20: #define LZERROR_GLOBALLOC (-5) /* insufficient memory for LZFile struct */
21: #define LZERROR_GLOBLOCK (-6) /* bad global handle */
22: #define LZERROR_BADVALUE (-7) /* input parameter out of acceptable range*/
23: #define LZERROR_UNKNOWNALG (-8) /* compression algorithm not recognized */
24:
25:
26: /*
27: ** Prototypes
28: */
29:
30: INT
31: APIENTRY
32: LZStart(
33: VOID
34: );
35:
36: VOID
37: APIENTRY
38: LZDone(
39: VOID
40: );
41:
42: LONG
43: APIENTRY
44: CopyLZFile(
45: INT,
46: INT
47: );
48:
49: LONG
50: APIENTRY
51: LZCopy(
52: INT,
53: INT
54: );
55:
56: INT
57: APIENTRY
58: LZInit(
59: INT
60: );
61:
62: INT
63: APIENTRY
1.1.1.2 root 64: GetExpandedNameA(
1.1 root 65: LPSTR,
66: LPSTR
67: );
1.1.1.2 root 68: INT
69: APIENTRY
70: GetExpandedNameW(
71: LPWSTR,
72: LPWSTR
73: );
74: #ifdef UNICODE
1.1.1.3 ! root 75: #define GetExpandedName GetExpandedNameW
1.1.1.2 root 76: #else
1.1.1.3 ! root 77: #define GetExpandedName GetExpandedNameA
1.1.1.2 root 78: #endif // !UNICODE
1.1 root 79:
80: INT
81: APIENTRY
1.1.1.2 root 82: LZOpenFileA(
1.1 root 83: LPSTR,
84: LPOFSTRUCT,
85: WORD
86: );
1.1.1.2 root 87: INT
88: APIENTRY
89: LZOpenFileW(
90: LPWSTR,
91: LPOFSTRUCT,
92: WORD
93: );
94: #ifdef UNICODE
1.1.1.3 ! root 95: #define LZOpenFile LZOpenFileW
1.1.1.2 root 96: #else
1.1.1.3 ! root 97: #define LZOpenFile LZOpenFileA
1.1.1.2 root 98: #endif // !UNICODE
1.1 root 99:
100: LONG
101: APIENTRY
102: LZSeek(
103: INT,
104: LONG,
105: INT
106: );
107:
108: INT
109: APIENTRY
110: LZRead(
111: INT,
112: LPSTR,
113: INT
114: );
115:
116: VOID
117: APIENTRY
118: LZClose(
119: INT
120: );
121:
1.1.1.3 ! root 122: #ifdef __cplusplus
! 123: }
! 124: #endif
! 125:
! 126:
! 127: #endif // _LZEXPAND_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.