MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / EraCreateFileA

Function EraCreateFileA

projects/WinDurango.KernelX/src/kernelx.cpp:811–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

809 int length = fileName.length();
810 if (fileName[0] == '/')
811 {
812 static std::wstring trimPath{};
813 trimPath = fileName.substr(1);
814 fileName = trimPath.data();
815 convert = std::filesystem::current_path().c_str();
816 convert.append(L"\\");
817 convert.append(fileName);
818
819 lpFileName = convert.data();
820 }
821 else if (fileName[0] == '\\')
822 {
823 }
824 else if (fileName[length - 1] == '/')

Callers

nothing calls this directly

Calls 1

FixRelativePathFunction · 0.85

Tested by

no test coverage detected