| 137 | } |
| 138 | |
| 139 | bool WinSetCurrentWorkingDirectory(const TString& path) { |
| 140 | TUtf16String wstr; |
| 141 | LPCWSTR wname = UTF8ToWCHAR(path, wstr); |
| 142 | if (!wname) { |
| 143 | ::SetLastError(ERROR_INVALID_NAME); |
| 144 | return false; |
| 145 | } |
| 146 | return SetCurrentDirectoryW(wname); |
| 147 | } |
| 148 | |
| 149 | bool WinMakeDirectory(const TString& path) { |
| 150 | TUtf16String buf; |
no test coverage detected