Fixed some issues found by winapi_check.
[wine] / include / msvcrt / direct.h
1 /*
2  * Path and directory definitions
3  *
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
11 #include "winnt.h"
12 #include "msvcrt/dos.h"            /* For _getdiskfree & co */
13
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 int         _chdir(const char*);
20 int         _chdrive(int);
21 char*       _getcwd(char*,int);
22 char*       _getdcwd(int,char*,int);
23 int         _getdrive(void);
24 unsigned long _getdrives(void);
25 int         _mkdir(const char*);
26 int         _rmdir(const char*);
27
28 int         _wchdir(const WCHAR*);
29 WCHAR*      _wgetcwd(WCHAR*,int);
30 WCHAR*      _wgetdcwd(int,WCHAR*,int);
31 int         _wmkdir(const WCHAR*);
32 int         _wrmdir(const WCHAR*);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38
39 #ifndef USE_MSVCRT_PREFIX
40 #define chdir _chdir
41 #define getcwd _getcwd
42 #define mkdir _mkdir
43 #define rmdir _rmdir
44 #endif /* USE_MSVCRT_PREFIX */
45
46 #endif /* __WINE_DIRECT_H */