A few optimizations in the process startup requests now that Winelib
[wine] / include / lzexpand.h
1 /* Includefile for the decompression library, lzexpand
2  *
3  * Copyright 1996 Marcus Meissner
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #ifndef __WINE_LZEXPAND_H
21 #define __WINE_LZEXPAND_H
22
23 #include "windef.h"
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif /* defined(__cplusplus) */
28
29 #define LZERROR_BADINHANDLE     -1      /* -1 */
30 #define LZERROR_BADOUTHANDLE    -2      /* -2 */
31 #define LZERROR_READ            -3      /* -3 */
32 #define LZERROR_WRITE           -4      /* -4 */
33 #define LZERROR_GLOBALLOC       -5      /* -5 */
34 #define LZERROR_GLOBLOCK        -6      /* -6 */
35 #define LZERROR_BADVALUE        -7      /* -7 */
36 #define LZERROR_UNKNOWNALG      -8      /* -8 */
37
38 VOID        WINAPI LZDone(void);
39 LONG        WINAPI CopyLZFile(HFILE,HFILE);
40 HFILE       WINAPI LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
41 HFILE       WINAPI LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
42 #define     LZOpenFile WINELIB_NAME_AW(LZOpenFile)
43 INT         WINAPI LZRead(HFILE,LPVOID,UINT);
44 INT         WINAPI LZStart(void);
45 void        WINAPI LZClose(HFILE);
46 LONG        WINAPI LZCopy(HFILE,HFILE);
47 HFILE       WINAPI LZInit(HFILE);
48 LONG        WINAPI LZSeek(HFILE,LONG,INT);
49 INT         WINAPI GetExpandedNameA(LPCSTR,LPSTR);
50 INT         WINAPI GetExpandedNameW(LPCWSTR,LPWSTR);
51 #define     GetExpandedName WINELIB_NAME_AW(GetExpandedName)
52
53 #ifdef __cplusplus
54 } /* extern "C" */
55 #endif /* defined(__cplusplus) */
56
57 #endif  /* __WINE_LZEXPAND_H */