ReactOS 0.4.15-dev-8207-gd73a838
dos.h
Go to the documentation of this file.
1
6#ifndef _INC_DOS
7#define _INC_DOS
8
9#include <crtdefs.h>
10#include <io.h>
11
12#pragma pack(push,_CRT_PACKING)
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#ifndef _DISKFREE_T_DEFINED
19#define _DISKFREE_T_DEFINED
20
21 struct _diskfree_t {
22 unsigned total_clusters;
23 unsigned avail_clusters;
24 unsigned sectors_per_cluster;
25 unsigned bytes_per_sector;
26 };
27#endif
28
29#define _A_NORMAL 0x00
30#define _A_RDONLY 0x01
31#define _A_HIDDEN 0x02
32#define _A_SYSTEM 0x04
33#define _A_VOLID 0x08
34#define _A_SUBDIR 0x10
35#define _A_ARCH 0x20
36
37#ifndef _GETDISKFREE_DEFINED
38#define _GETDISKFREE_DEFINED
39 _CRTIMP unsigned __cdecl _getdiskfree(unsigned _Drive,struct _diskfree_t *_DiskFree);
40#endif
41
42#if (defined(_X86_) && !defined(__x86_64))
43 void __cdecl _disable(void);
44 void __cdecl _enable(void);
45#endif
46
47#ifndef NO_OLDNAMES
48#define diskfree_t _diskfree_t
49#endif
50
51#ifdef __cplusplus
52}
53#endif
54
55#pragma pack(pop)
56#endif
#define __cdecl
Definition: accygwin.h:79
#define _CRTIMP
Definition: crtdefs.h:72
void __cdecl _disable(void)
Definition: intrin_arm.h:365
void __cdecl _enable(void)
Definition: intrin_arm.h:373
_CRTIMP unsigned __cdecl _getdiskfree(unsigned _Drive, struct _diskfree_t *_DiskFree)
unsigned bytes_per_sector
Definition: direct.h:24
unsigned sectors_per_cluster
Definition: direct.h:23
unsigned total_clusters
Definition: direct.h:21
unsigned avail_clusters
Definition: direct.h:22