Don't return from overlapped ReadFile on EAGAIN and other non-fatal
[wine/gsoc_dplay.git] / include / msvcrt / dos.h
blobc7883cb88a6198d2f296835c4bdaed768aca2d3f
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 #define __WINE_USE_MSVCRT
13 /* The following are also defined in io.h */
14 #define _A_NORMAL 0x00000000
15 #define _A_RDONLY 0x00000001
16 #define _A_HIDDEN 0x00000002
17 #define _A_SYSTEM 0x00000004
18 #define _A_VOLID 0x00000008
19 #define _A_SUBDIR 0x00000010
20 #define _A_ARCH 0x00000020
22 struct _diskfree_t {
23 unsigned int total_clusters;
24 unsigned int avail_clusters;
25 unsigned int sectors_per_cluster;
26 unsigned int bytes_per_sector;
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
34 unsigned int _getdiskfree(unsigned int, struct _diskfree_t *);
36 #ifdef __cplusplus
38 #endif
41 #ifndef USE_MSVCRT_PREFIX
42 #define diskfree_t _diskfree_t
43 #endif /* USE_MSVCRT_PREFIX */
45 #endif /* __WINE_DOS_H */