2001-04-11 01:21:43 +02:00
|
|
|
/*
|
|
|
|
* 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
|
2008-12-11 22:37:34 +01:00
|
|
|
|
|
|
|
#include <crtdefs.h>
|
2001-04-11 01:21:43 +02:00
|
|
|
|
2007-02-20 09:35:41 +01:00
|
|
|
#include <pshpack8.h>
|
|
|
|
|
2001-04-11 01:21:43 +02:00
|
|
|
/* 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
|
|
|
|
|
2004-06-25 03:19:15 +02:00
|
|
|
#ifndef _DISKFREE_T_DEFINED
|
|
|
|
#define _DISKFREE_T_DEFINED
|
|
|
|
struct _diskfree_t {
|
2001-04-11 01:21:43 +02:00
|
|
|
unsigned int total_clusters;
|
|
|
|
unsigned int avail_clusters;
|
|
|
|
unsigned int sectors_per_cluster;
|
|
|
|
unsigned int bytes_per_sector;
|
|
|
|
};
|
2004-06-25 03:19:15 +02:00
|
|
|
#endif /* _DISKFREE_T_DEFINED */
|
2001-04-11 01:21:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2008-12-17 14:45:18 +01:00
|
|
|
unsigned int __cdecl _getdiskfree(unsigned int, struct _diskfree_t *);
|
2001-04-11 01:21:43 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-06-25 03:19:15 +02:00
|
|
|
#define diskfree_t _diskfree_t
|
2001-04-11 01:21:43 +02:00
|
|
|
|
2007-02-20 09:35:41 +01:00
|
|
|
#include <poppack.h>
|
|
|
|
|
2001-04-11 01:21:43 +02:00
|
|
|
#endif /* __WINE_DOS_H */
|