ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/lzexpand.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 1146 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6 #ifndef _LZEXPAND_
7 #define _LZEXPAND_
8
9 #include <_mingw_unicode.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 #define LZERROR_BADINHANDLE (-1)
16 #define LZERROR_BADOUTHANDLE (-2)
17 #define LZERROR_READ (-3)
18 #define LZERROR_WRITE (-4)
19 #define LZERROR_GLOBALLOC (-5)
20 #define LZERROR_GLOBLOCK (-6)
21 #define LZERROR_BADVALUE (-7)
22 #define LZERROR_UNKNOWNALG (-8)
23
24 #define GetExpandedName __MINGW_NAME_AW(GetExpandedName)
25 #define LZOpenFile __MINGW_NAME_AW(LZOpenFile)
26
27 INT WINAPI LZStart(VOID);
28 VOID WINAPI LZDone(VOID);
29 LONG WINAPI CopyLZFile(INT,INT);
30 LONG WINAPI LZCopy(INT,INT);
31 INT WINAPI LZInit(INT);
32 INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
33 INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
34 INT WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
35 INT WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
36 LONG WINAPI LZSeek(INT,LONG,INT);
37 INT WINAPI LZRead(INT,LPSTR,INT);
38 VOID WINAPI LZClose(INT);
39
40 #ifdef __cplusplus
41 }
42 #endif
43 #endif