xref: /reactos/sdk/include/psdk/lzexpand.h (revision c2c66aff)
1 #ifndef _LZEXPAND_H
2 #define _LZEXPAND_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 #define LZERROR_BADINHANDLE	(-1)
8 #define LZERROR_BADOUTHANDLE	(-2)
9 #define LZERROR_READ	(-3)
10 #define LZERROR_WRITE	(-4)
11 #define LZERROR_GLOBALLOC	(-5)
12 #define LZERROR_GLOBLOCK	(-6)
13 #define LZERROR_BADVALUE	(-7)
14 #define LZERROR_UNKNOWNALG	(-8)
15 LONG WINAPI CopyLZFile(INT,INT);
16 INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
17 INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
18 VOID APIENTRY LZClose(INT);
19 LONG APIENTRY LZCopy(INT,INT);
20 VOID WINAPI LZDone(VOID);
21 INT WINAPI LZInit(INT);
22 INT WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
23 INT WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
24 INT WINAPI LZRead(INT,LPSTR,INT);
25 LONG WINAPI LZSeek(INT,LONG,INT);
26 INT WINAPI LZStart(VOID);
27 #ifdef UNICODE
28 #define GetExpandedName GetExpandedNameW
29 #define LZOpenFile  LZOpenFileW
30 #else
31 #define GetExpandedName GetExpandedNameA
32 #define LZOpenFile  LZOpenFileA
33 #endif
34 #ifdef __cplusplus
35 }
36 #endif
37 #endif
38