d3d10core/tests: Add tests for buffer ranges.
[wine.git] / include / lzexpand.h
blobbc013913bd07f45ba06dcf866e8f0c1bf9aa223c
1 /* Includefile for the decompression library, lzexpand
3 * Copyright 1996 Marcus Meissner
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.
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.
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_LZEXPAND_H
21 #define __WINE_LZEXPAND_H
23 #ifdef __cplusplus
24 extern "C" {
25 #endif /* defined(__cplusplus) */
27 #define LZERROR_BADINHANDLE -1 /* -1 */
28 #define LZERROR_BADOUTHANDLE -2 /* -2 */
29 #define LZERROR_READ -3 /* -3 */
30 #define LZERROR_WRITE -4 /* -4 */
31 #define LZERROR_GLOBALLOC -5 /* -5 */
32 #define LZERROR_GLOBLOCK -6 /* -6 */
33 #define LZERROR_BADVALUE -7 /* -7 */
34 #define LZERROR_UNKNOWNALG -8 /* -8 */
36 VOID WINAPI LZDone(void);
37 LONG WINAPI CopyLZFile(HFILE,HFILE);
38 HFILE WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
39 HFILE WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
40 #define LZOpenFile WINELIB_NAME_AW(LZOpenFile)
41 INT WINAPI LZRead(INT,LPSTR,INT);
42 INT WINAPI LZStart(void);
43 void WINAPI LZClose(HFILE);
44 LONG WINAPI LZCopy(HFILE,HFILE);
45 HFILE WINAPI LZInit(HFILE);
46 LONG WINAPI LZSeek(HFILE,LONG,INT);
47 INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
48 INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
49 #define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
51 #ifdef __cplusplus
52 } /* extern "C" */
53 #endif /* defined(__cplusplus) */
55 #endif /* __WINE_LZEXPAND_H */