comparison fuhtark_test/include/winapi/lzexpand.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef _LZEXPAND_
7 #define _LZEXPAND_
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 #define LZERROR_BADINHANDLE (-1)
14 #define LZERROR_BADOUTHANDLE (-2)
15 #define LZERROR_READ (-3)
16 #define LZERROR_WRITE (-4)
17 #define LZERROR_GLOBALLOC (-5)
18 #define LZERROR_GLOBLOCK (-6)
19 #define LZERROR_BADVALUE (-7)
20 #define LZERROR_UNKNOWNALG (-8)
21
22 #ifdef UNICODE
23 #define GetExpandedName GetExpandedNameW
24 #define LZOpenFile LZOpenFileW
25 #else
26 #define GetExpandedName GetExpandedNameA
27 #define LZOpenFile LZOpenFileA
28 #endif
29
30 INT WINAPI LZStart(VOID);
31 VOID WINAPI LZDone(VOID);
32 LONG WINAPI CopyLZFile(INT,INT);
33 LONG WINAPI LZCopy(INT,INT);
34 INT WINAPI LZInit(INT);
35 INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
36 INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
37 INT WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
38 INT WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
39 LONG WINAPI LZSeek(INT,LONG,INT);
40 INT WINAPI LZRead(INT,LPSTR,INT);
41 VOID WINAPI LZClose(INT);
42
43 #ifdef __cplusplus
44 }
45 #endif
46 #endif