Go to the source code of this file.
◆ _wchdir()
This file has no copyright assigned and is placed in the Public Domain. This file is part of the Wine project.
Definition at line 231 of file dir.c.
232{
234 {
236 return -1;
237 }
238#ifdef __REACTOS__
239
242 {
243 if (fulldir[1] ==
L':')
244 {
247 }
248 }
249#endif
250 return 0;
251}
#define GetCurrentDirectoryW(x, y)
BOOL WINAPI DECLSPEC_HOTPATCH SetEnvironmentVariableW(IN LPCWSTR lpName, IN LPCWSTR lpValue)
BOOL WINAPI SetCurrentDirectoryW(IN LPCWSTR lpPathName)
DWORD WINAPI GetLastError(void)
Referenced by _chdir().
◆ _wgetcwd()
Definition at line 785 of file dir.c.
786{
789
790 if (dir_len < 1)
792
794 {
795 if (
size <= dir_len)
size = dir_len + 1;
797 }
798 else if (dir_len >=
size)
799 {
802 }
805}
GLenum GLuint GLenum GLsizei const GLchar * buf
Referenced by _getcwd(), _wfullpath(), and _wgetdcwd().
◆ _wgetdcwd()
Definition at line 867 of file dir.c.
868{
869 static wchar_t*
dummy;
870
872
875 else
876 {
878 wchar_t drivespec[4] =
L"A:\\";
879 int dir_len;
880
881 drivespec[0] +=
drive - 1;
883 {
886 }
887
889 if (dir_len >=
size || dir_len < 1)
890 {
893 }
894
899 }
901}
UINT WINAPI GetDriveTypeW(IN LPCWSTR lpRootPathName)
DWORD WINAPI GetFullPathNameW(IN LPCWSTR lpFileName, IN DWORD nBufferLength, OUT LPWSTR lpBuffer, OUT LPWSTR *lpFilePart)
int CDECL _getdrive(void)
wchar_t *CDECL _wgetcwd(wchar_t *buf, int size)
_ACRTIMP wchar_t *__cdecl _wcsdup(const wchar_t *) __WINE_DEALLOC(free) __WINE_MALLOC
Referenced by _getdcwd().
◆ _wmkdir()
Definition at line 974 of file dir.c.
975{
977 return 0;
979 return -1;
980}
BOOL WINAPI CreateDirectoryW(IN LPCWSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
Referenced by _mkdir().
◆ _wrmdir()
Definition at line 1013 of file dir.c.
1014{
1016 return 0;
1018 return -1;
1019}
BOOL WINAPI RemoveDirectoryW(IN LPCWSTR lpPathName)
Referenced by _rmdir(), and test_utf8().