Don't return from overlapped ReadFile on EAGAIN and other non-fatal
[wine/gsoc_dplay.git] / include / msvcrt / direct.h
blob41f9aceaf809fee438be7279f77e171fdc51dbcb
1 /*
2 * Path and directory 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_DIRECT_H
9 #define __WINE_DIRECT_H
10 #define __WINE_USE_MSVCRT
12 #include "winnt.h"
13 #include "msvcrt/dos.h" /* For _getdiskfree & co */
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 int _chdir(const char*);
21 int _chdrive(int);
22 char* _getcwd(char*,int);
23 char* _getdcwd(int,char*,int);
24 int _getdrive(void);
25 unsigned long _getdrives(void);
26 int _mkdir(const char*);
27 int _rmdir(const char*);
29 int _wchdir(const WCHAR*);
30 WCHAR* _wgetcwd(WCHAR*,int);
31 WCHAR* _wgetdcwd(int,WCHAR*,int);
32 int _wmkdir(const WCHAR*);
33 int _wrmdir(const WCHAR*);
35 #ifdef __cplusplus
37 #endif
40 #ifndef USE_MSVCRT_PREFIX
41 #define chdir _chdir
42 #define getcwd _getcwd
43 #define mkdir _mkdir
44 #define rmdir _rmdir
45 #endif /* USE_MSVCRT_PREFIX */
47 #endif /* __WINE_DIRECT_H */