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