Removed resource.h.
[wine.git] / include / lzexpand.h
blobd9b8de6f493ba5930b6d5317984af3e6edc9ebb1
1 /* Includefile for the decompression library, lzexpand
3 * Copyright 1996 Marcus Meissner
4 * FIXME: Who's copyright are the prototypes?
5 */
7 #ifndef __WINE_LZEXPAND_H
8 #define __WINE_LZEXPAND_H
10 #include "windef.h"
12 #ifdef __cplusplus
13 extern "C" {
14 #endif /* defined(__cplusplus) */
16 #define LZERROR_BADINHANDLE -1 /* -1 */
17 #define LZERROR_BADOUTHANDLE -2 /* -2 */
18 #define LZERROR_READ -3 /* -3 */
19 #define LZERROR_WRITE -4 /* -4 */
20 #define LZERROR_GLOBALLOC -5 /* -5 */
21 #define LZERROR_GLOBLOCK -6 /* -6 */
22 #define LZERROR_BADVALUE -7 /* -7 */
23 #define LZERROR_UNKNOWNALG -8 /* -8 */
25 VOID WINAPI LZDone(void);
26 LONG WINAPI CopyLZFile16(HFILE16,HFILE16);
27 LONG WINAPI CopyLZFile(HFILE,HFILE);
28 HFILE16 WINAPI LZOpenFile16(LPCSTR,LPOFSTRUCT,UINT16);
29 HFILE WINAPI LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
30 HFILE WINAPI LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
31 #define LZOpenFile WINELIB_NAME_AW(LZOpenFile)
32 INT16 WINAPI LZRead16(HFILE16,LPVOID,UINT16);
33 INT WINAPI LZRead(HFILE,LPVOID,UINT);
34 INT16 WINAPI LZStart16(void);
35 INT WINAPI LZStart(void);
36 void WINAPI LZClose16(HFILE16);
37 void WINAPI LZClose(HFILE);
38 LONG WINAPI LZCopy16(HFILE16,HFILE16);
39 LONG WINAPI LZCopy(HFILE,HFILE);
40 HFILE16 WINAPI LZInit16(HFILE16);
41 HFILE WINAPI LZInit(HFILE);
42 LONG WINAPI LZSeek16(HFILE16,LONG,INT16);
43 LONG WINAPI LZSeek(HFILE,LONG,INT);
44 INT16 WINAPI GetExpandedName16(LPCSTR,LPSTR);
45 INT WINAPI GetExpandedNameA(LPCSTR,LPSTR);
46 INT WINAPI GetExpandedNameW(LPCWSTR,LPWSTR);
47 #define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
49 #ifdef __cplusplus
50 } /* extern "C" */
51 #endif /* defined(__cplusplus) */
53 #endif /* __WINE_LZEXPAND_H */