Use GetCommState16 to save state in OpenComm16.
[wine.git] / include / lzexpand.h
blob27d50ebc67c1528b9bc8a8f1edd69d3193d1b3a8
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 CopyLZFile(HFILE,HFILE);
27 HFILE WINAPI LZOpenFileA(LPCSTR,LPOFSTRUCT,UINT);
28 HFILE WINAPI LZOpenFileW(LPCWSTR,LPOFSTRUCT,UINT);
29 #define LZOpenFile WINELIB_NAME_AW(LZOpenFile)
30 INT WINAPI LZRead(HFILE,LPVOID,UINT);
31 INT WINAPI LZStart(void);
32 void WINAPI LZClose(HFILE);
33 LONG WINAPI LZCopy(HFILE,HFILE);
34 HFILE WINAPI LZInit(HFILE);
35 LONG WINAPI LZSeek(HFILE,LONG,INT);
36 INT WINAPI GetExpandedNameA(LPCSTR,LPSTR);
37 INT WINAPI GetExpandedNameW(LPCWSTR,LPWSTR);
38 #define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
40 #ifdef __cplusplus
41 } /* extern "C" */
42 #endif /* defined(__cplusplus) */
44 #endif /* __WINE_LZEXPAND_H */