Fix memory leaks.
[wine/dcerpc.git] / include / msvcrt / dos.h
bloba35e642902d07dbc2c64a364007e60903ef84ae6
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 #ifndef __WINE_USE_MSVCRT
11 #define __WINE_USE_MSVCRT
12 #endif
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 _DISKFREE_T_DEFINED
24 #define _DISKFREE_T_DEFINED
25 struct _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 /* _DISKFREE_T_DEFINED */
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
38 unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
40 #ifdef __cplusplus
42 #endif
45 #define diskfree_t _diskfree_t
47 #endif /* __WINE_DOS_H */