Added version information.
[wine.git] / include / msvcrt / dos.h
blob6f948fb55e5bab6b997564f06730a03d0a6743a6
1 /*
2 * DOS definitions
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
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
22 #ifndef MSVCRT_DISKFREE_T_DEFINED
23 #define MSVCRT_DISKFREE_T_DEFINED
24 struct _diskfree_t {
25 unsigned int total_clusters;
26 unsigned int avail_clusters;
27 unsigned int sectors_per_cluster;
28 unsigned int bytes_per_sector;
30 #endif /* MSVCRT_DISKFREE_T_DEFINED */
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
37 unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
39 #ifdef __cplusplus
41 #endif
44 #ifndef USE_MSVCRT_PREFIX
45 #define diskfree_t _diskfree_t
46 #endif /* USE_MSVCRT_PREFIX */
48 #endif /* __WINE_DOS_H */