Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRCT2/OpenRCT2
/ GetCurrentExecutablePath
Function
GetCurrentExecutablePath
src/openrct2/platform/Platform.Win32.cpp:157–160 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
155
}
156
157
std::string GetCurrentExecutablePath()
158
{
159
return WIN32_GetModuleFileNameUTF8(nullptr);
160
}
161
162
std::string GetDocsPath()
163
{
Callers
1
GetCurrentExecutableDirectory
Function · 0.70
Calls
1
WIN32_GetModuleFileNameUTF8
Function · 0.85
Tested by
no test coverage detected