Fixed some issues found by winapi_check.
[wine] / include / msvcrt / dos.h
1 /*
2  * DOS definitions
3  *
4  * Derived from the mingw header written by Colin Peters.
5  * Modified for Wine use by Jon Griffiths and Francois Gouget.
6  * This file is in the public domain.
7  */
8 #ifndef __WINE_DOS_H
9 #define __WINE_DOS_H
10
11
12 /* The following are also defined in io.h */
13 #define _A_NORMAL 0x00000000
14 #define _A_RDONLY 0x00000001
15 #define _A_HIDDEN 0x00000002
16 #define _A_SYSTEM 0x00000004
17 #define _A_VOLID  0x00000008
18 #define _A_SUBDIR 0x00000010
19 #define _A_ARCH   0x00000020
20
21 struct _diskfree_t {
22   unsigned int total_clusters;
23   unsigned int avail_clusters;
24   unsigned int sectors_per_cluster;
25   unsigned int bytes_per_sector;
26 };
27
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33 unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39
40 #ifndef USE_MSVCRT_PREFIX
41 #define diskfree_t _diskfree_t
42 #endif /* USE_MSVCRT_PREFIX */
43
44 #endif /* __WINE_DOS_H */