VariantChangeTypeEx for VT_ARRAY | type style variants.
[wine.git] / include / lzexpand.h
blobffca935b33f1deb982077dea76d08b7684dd924a
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 #ifndef __WINE_LZEXPAND_H
21 #define __WINE_LZEXPAND_H
23 #include "windef.h"
25 #ifdef __cplusplus
26 extern "C" {
27 #endif /* defined(__cplusplus) */
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 */
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)
53 #ifdef __cplusplus
54 } /* extern "C" */
55 #endif /* defined(__cplusplus) */
57 #endif /* __WINE_LZEXPAND_H */