dos.h 993 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/*
 * DOS definitions
 *
 * Derived from the mingw header written by Colin Peters.
 * Modified for Wine use by Jon Griffiths and Francois Gouget.
 * This file is in the public domain.
 */
#ifndef __WINE_DOS_H
#define __WINE_DOS_H
10 11

#include <crtdefs.h>
12

13 14
#include <pshpack8.h>

15 16 17 18 19 20 21 22 23
/* The following are also defined in io.h */
#define _A_NORMAL 0x00000000
#define _A_RDONLY 0x00000001
#define _A_HIDDEN 0x00000002
#define _A_SYSTEM 0x00000004
#define _A_VOLID  0x00000008
#define _A_SUBDIR 0x00000010
#define _A_ARCH   0x00000020

24 25 26
#ifndef _DISKFREE_T_DEFINED
#define _DISKFREE_T_DEFINED
struct _diskfree_t {
27 28 29 30 31
  unsigned int total_clusters;
  unsigned int avail_clusters;
  unsigned int sectors_per_cluster;
  unsigned int bytes_per_sector;
};
32
#endif /* _DISKFREE_T_DEFINED */
33 34 35 36 37 38


#ifdef __cplusplus
extern "C" {
#endif

39
unsigned int __cdecl _getdiskfree(unsigned int, struct _diskfree_t *);
40 41 42 43 44 45

#ifdef __cplusplus
}
#endif


46
#define diskfree_t _diskfree_t
47

48 49
#include <poppack.h>

50
#endif /* __WINE_DOS_H */