MCPcopy Create free account
hub / github.com/ByteCorum/DragonBurn / GetCurrentAppFolder

Method GetCurrentAppFolder

DragonBurn-kernel/utils.cpp:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121std::wstring kdmUtils::GetCurrentAppFolder() {
122 wchar_t buffer[1024];
123 GetModuleFileNameW(NULL, buffer, 1024);
124 std::wstring::size_type pos = std::wstring(buffer).find_last_of(L"\\/");
125 return std::wstring(buffer).substr(0, pos);
126}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected