ntdll/tests: Fix a few test failures on Windows in the open by id test.
[wine/multimedia.git] / include / msvcrt / dos.h
blobbc62188a79bcc66300eea884b29e465a7844dad3
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
11 #include <crtdefs.h>
13 #include <pshpack8.h>
15 /* The following are also defined in io.h */
16 #define _A_NORMAL 0x00000000
17 #define _A_RDONLY 0x00000001
18 #define _A_HIDDEN 0x00000002
19 #define _A_SYSTEM 0x00000004
20 #define _A_VOLID 0x00000008
21 #define _A_SUBDIR 0x00000010
22 #define _A_ARCH 0x00000020
24 #ifndef _DISKFREE_T_DEFINED
25 #define _DISKFREE_T_DEFINED
26 struct _diskfree_t {
27 unsigned int total_clusters;
28 unsigned int avail_clusters;
29 unsigned int sectors_per_cluster;
30 unsigned int bytes_per_sector;
32 #endif /* _DISKFREE_T_DEFINED */
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
39 unsigned int __cdecl _getdiskfree(unsigned int, struct _diskfree_t *);
41 #ifdef __cplusplus
43 #endif
46 #define diskfree_t _diskfree_t
48 #include <poppack.h>
50 #endif /* __WINE_DOS_H */