source: Daodan/MinGW/include/lzexpand.h@ 1143

Last change on this file since 1143 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 999 bytes
Line 
1#ifndef _LZEXPAND_H
2#define _LZEXPAND_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10#define LZERROR_BADINHANDLE (-1)
11#define LZERROR_BADOUTHANDLE (-2)
12#define LZERROR_READ (-3)
13#define LZERROR_WRITE (-4)
14#define LZERROR_GLOBALLOC (-5)
15#define LZERROR_GLOBLOCK (-6)
16#define LZERROR_BADVALUE (-7)
17#define LZERROR_UNKNOWNALG (-8)
18LONG WINAPI CopyLZFile(INT,INT);
19INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
20INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
21VOID APIENTRY LZClose(INT);
22LONG APIENTRY LZCopy(INT,INT);
23VOID WINAPI LZDone(VOID);
24INT WINAPI LZInit(INT);
25INT WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
26INT WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
27INT WINAPI LZRead(INT,LPSTR,INT);
28LONG WINAPI LZSeek(INT,LONG,INT);
29INT WINAPI LZStart(VOID);
30#ifdef UNICODE
31#define GetExpandedName GetExpandedNameW
32#define LZOpenFile LZOpenFileW
33#else
34#define GetExpandedName GetExpandedNameA
35#define LZOpenFile LZOpenFileA
36#endif
37#ifdef __cplusplus
38}
39#endif
40#endif
Note: See TracBrowser for help on using the repository browser.