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.
8 #ifndef __WINE_DIRECT_H
9 #define __WINE_DIRECT_H
10 #define __WINE_USE_MSVCRT
13 #include "msvcrt/dos.h" /* For _getdiskfree & co */
20 int _chdir(const char*);
22 char* _getcwd(char*,int);
23 char* _getdcwd(int,char*,int);
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
*);
40 #ifndef USE_MSVCRT_PREFIX
42 #define getcwd _getcwd
45 #endif /* USE_MSVCRT_PREFIX */
47 #endif /* __WINE_DIRECT_H */