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 | /*
|
---|
9 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
10 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
11 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
12 | * a choice of LGPL license versions is made available with the language indicating
|
---|
13 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
14 | * of the LGPL is applied is otherwise unspecified.
|
---|
15 | */
|
---|
16 |
|
---|
17 | #ifndef __WINE_DOS_H
|
---|
18 | #define __WINE_DOS_H
|
---|
19 |
|
---|
20 | #include <crtdefs.h>
|
---|
21 |
|
---|
22 | #include <pshpack8.h>
|
---|
23 |
|
---|
24 | /* The following are also defined in io.h */
|
---|
25 | #define _A_NORMAL 0x00000000
|
---|
26 | #define _A_RDONLY 0x00000001
|
---|
27 | #define _A_HIDDEN 0x00000002
|
---|
28 | #define _A_SYSTEM 0x00000004
|
---|
29 | #define _A_VOLID 0x00000008
|
---|
30 | #define _A_SUBDIR 0x00000010
|
---|
31 | #define _A_ARCH 0x00000020
|
---|
32 |
|
---|
33 | #ifndef _DISKFREE_T_DEFINED
|
---|
34 | #define _DISKFREE_T_DEFINED
|
---|
35 | struct _diskfree_t {
|
---|
36 | unsigned int total_clusters;
|
---|
37 | unsigned int avail_clusters;
|
---|
38 | unsigned int sectors_per_cluster;
|
---|
39 | unsigned int bytes_per_sector;
|
---|
40 | };
|
---|
41 | #endif /* _DISKFREE_T_DEFINED */
|
---|
42 |
|
---|
43 |
|
---|
44 | #ifdef __cplusplus
|
---|
45 | extern "C" {
|
---|
46 | #endif
|
---|
47 |
|
---|
48 | unsigned int __cdecl _getdiskfree(unsigned int, struct _diskfree_t *);
|
---|
49 |
|
---|
50 | #ifdef __cplusplus
|
---|
51 | }
|
---|
52 | #endif
|
---|
53 |
|
---|
54 |
|
---|
55 | #define diskfree_t _diskfree_t
|
---|
56 |
|
---|
57 | #include <poppack.h>
|
---|
58 |
|
---|
59 | #endif /* __WINE_DOS_H */
|
---|