Move controller info and state/functionality info initialization to
[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 #define __WINE_USE_MSVCRT
11
12
13 /* The following are also defined in io.h */
14 #define _A_NORMAL 0x00000000
15 #define _A_RDONLY 0x00000001
16 #define _A_HIDDEN 0x00000002
17 #define _A_SYSTEM 0x00000004
18 #define _A_VOLID  0x00000008
19 #define _A_SUBDIR 0x00000010
20 #define _A_ARCH   0x00000020
21
22 #ifndef MSVCRT_DISKFREE_T_DEFINED
23 #define MSVCRT_DISKFREE_T_DEFINED
24 struct _diskfree_t {
25   unsigned int total_clusters;
26   unsigned int avail_clusters;
27   unsigned int sectors_per_cluster;
28   unsigned int bytes_per_sector;
29 };
30 #endif /* MSVCRT_DISKFREE_T_DEFINED */
31
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43
44 #ifndef USE_MSVCRT_PREFIX
45 #define diskfree_t _diskfree_t
46 #endif /* USE_MSVCRT_PREFIX */
47
48 #endif /* __WINE_DOS_H */