Rev | Line | |
---|
[8207] | 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 | struct _diskfree_t {
|
---|
| 23 | unsigned int total_clusters;
|
---|
| 24 | unsigned int avail_clusters;
|
---|
| 25 | unsigned int sectors_per_cluster;
|
---|
| 26 | unsigned int bytes_per_sector;
|
---|
| 27 | };
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | #ifdef __cplusplus
|
---|
| 31 | extern "C" {
|
---|
| 32 | #endif
|
---|
| 33 |
|
---|
| 34 | unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
|
---|
| 35 |
|
---|
| 36 | #ifdef __cplusplus
|
---|
| 37 | }
|
---|
| 38 | #endif
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 | #ifndef USE_MSVCRT_PREFIX
|
---|
| 42 | #define diskfree_t _diskfree_t
|
---|
| 43 | #endif /* USE_MSVCRT_PREFIX */
|
---|
| 44 |
|
---|
| 45 | #endif /* __WINE_DOS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.