Rev | Line | |
---|
[8207] | 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 | #define __WINE_USE_MSVCRT
|
---|
| 11 |
|
---|
| 12 | #include "winnt.h"
|
---|
| 13 | #include "msvcrt/dos.h" /* For _getdiskfree & co */
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | #ifdef __cplusplus
|
---|
| 17 | extern "C" {
|
---|
| 18 | #endif
|
---|
| 19 |
|
---|
[10004] | 20 | int MSVCRT(_chdir)(const char*);
|
---|
| 21 | int MSVCRT(_chdrive)(int);
|
---|
| 22 | char* MSVCRT(_getcwd)(char*,int);
|
---|
[8207] | 23 | char* _getdcwd(int,char*,int);
|
---|
[10004] | 24 | int MSVCRT(_getdrive)(void);
|
---|
[8207] | 25 | unsigned long _getdrives(void);
|
---|
[10004] | 26 | int MSVCRT(_mkdir)(const char*);
|
---|
[8207] | 27 | int _rmdir(const char*);
|
---|
| 28 |
|
---|
| 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*);
|
---|
| 34 |
|
---|
| 35 | #ifdef __cplusplus
|
---|
| 36 | }
|
---|
| 37 | #endif
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 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 */
|
---|
| 46 |
|
---|
| 47 | #endif /* __WINE_DIRECT_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.