Changeset 74460 in vbox for trunk/src/VBox/Runtime/r3/win/dir-win.cpp
- Timestamp:
- Sep 25, 2018 3:42:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/dir-win.cpp
r69111 r74460 58 58 */ 59 59 PRTUTF16 pwszString; 60 rc = RT StrToUtf16(pszPath, &pwszString);60 rc = RTPathWinFromUtf8(&pwszString, pszPath, 0 /*fFlags*/); 61 61 AssertRC(rc); 62 62 if (RT_SUCCESS(rc)) … … 89 89 } 90 90 91 RT Utf16Free(pwszString);91 RTPathWinFree(pwszString); 92 92 } 93 93 } … … 109 109 */ 110 110 PRTUTF16 pwszString; 111 int rc = RT StrToUtf16(pszPath, &pwszString);111 int rc = RTPathWinFromUtf8(&pwszString, pszPath, 0 /*fFlags*/); 112 112 AssertRC(rc); 113 113 if (RT_SUCCESS(rc)) … … 121 121 rc = RTErrConvertFromWin32(GetLastError()); 122 122 123 RT Utf16Free(pwszString);123 RTPathWinFree(pwszString); 124 124 } 125 125
Note:
See TracChangeset
for help on using the changeset viewer.