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 #ifndef __WINE_USE_MSVCRT
11 #define __WINE_USE_MSVCRT
12 #endif
13
14 #include <pshpack8.h>
15
16 /* The following are also defined in io.h */
17 #define _A_NORMAL 0x00000000
18 #define _A_RDONLY 0x00000001
19 #define _A_HIDDEN 0x00000002
20 #define _A_SYSTEM 0x00000004
21 #define _A_VOLID 0x00000008
22 #define _A_SUBDIR 0x00000010
23 #define _A_ARCH 0x00000020
24
25 #ifndef _DISKFREE_T_DEFINED
26 #define _DISKFREE_T_DEFINED
27 struct _diskfree_t {
28 unsigned int total_clusters;
29 unsigned int avail_clusters;
30 unsigned int sectors_per_cluster;
31 unsigned int bytes_per_sector;
32 };
33 #endif /* _DISKFREE_T_DEFINED */
34
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46
47 #define diskfree_t _diskfree_t
48
49 #include <poppack.h>
50
51 #endif /* __WINE_DOS_H */
52
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.