carb::extras::convertCarboniteToWindowsPath
Defined in carb/extras/WindowsPath.h
- 
inline std::wstring carb::extras::convertCarboniteToWindowsPath(const std::string &path)
- (Windows only) Converts a UTF-8 file path to Windows system file path. - Slashes are replaced with backslashes, and fixWindowsPathPrefix() is called. - Errors
- Accessible via carb::ErrorApi - Note: Error state is not cleared on success 
- omni::core::kResultFail - UTF-8 to wide conversion failed 
 
 - Note - Use of this function is discouraged. Use carb::filesystem::IFileSystem for filesystem needs. - Parameters
- path – Input string to convert, in UTF-8 encoding. 
- Returns
- Wide string containing Windows system file path or empty string if conversion cannot be performed.