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.
10 #ifndef __WINE_USE_MSVCRT
11 #define __WINE_USE_MSVCRT
14 /* The following are also defined in io.h */
15 #define _A_NORMAL 0x00000000
16 #define _A_RDONLY 0x00000001
17 #define _A_HIDDEN 0x00000002
18 #define _A_SYSTEM 0x00000004
19 #define _A_VOLID 0x00000008
20 #define _A_SUBDIR 0x00000010
21 #define _A_ARCH 0x00000020
23 #ifndef MSVCRT_DISKFREE_T_DEFINED
24 #define MSVCRT_DISKFREE_T_DEFINED
25 struct MSVCRT(_diskfree_t
) {
26 unsigned int total_clusters
;
27 unsigned int avail_clusters
;
28 unsigned int sectors_per_cluster
;
29 unsigned int bytes_per_sector
;
31 #endif /* MSVCRT_DISKFREE_T_DEFINED */
38 unsigned int MSVCRT(_getdiskfree
)(unsigned int, struct MSVCRT(_diskfree_t
) *);
45 #ifndef USE_MSVCRT_PREFIX
46 #define MSVCRT(diskfree_t) MSVCRT(_diskfree_t)
47 #endif /* USE_MSVCRT_PREFIX */
49 #endif /* __WINE_DOS_H */