MCPcopy Create free account
hub / github.com/TheRealMJP/SHforHLSL / ResolveFilePath

Function ResolveFilePath

SHTest/SampleFramework12/v1.04/FileIO.cpp:118–123  ·  view source on GitHub ↗

Resolves a relative file path

Source from the content-addressed store, hash-verified

116
117// Resolves a relative file path
118std::string ResolveFilePath(const char* filePath)
119{
120 char resolvedPath[MAX_PATH] = { };
121 GetFullPathNameA(filePath, ArraySize_(resolvedPath), resolvedPath, nullptr);
122 return std::string(resolvedPath);
123}
124
125// Resolves a relative file path
126std::wstring ResolveFilePath(const wchar* filePath)

Callers 1

InitializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected