MCPcopy Create free account
hub / github.com/M2Team/NanaBox / GetCurrentProcessModulePath

Function GetCurrentProcessModulePath

NanaBox/Utils.cpp:642–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642std::wstring GetCurrentProcessModulePath()
643{
644 // 32767 is the maximum path length without the terminating null character.
645 std::wstring Path(32767, L'\0');
646 Path.resize(::GetModuleFileNameW(
647 nullptr, &Path[0], static_cast<DWORD>(Path.size())));
648 return Path;
649}
650
651DWORD SimpleCreateVirtualDisk(
652 _In_ PCWSTR Path,

Callers 2

SponsorButtonClickMethod · 0.85
wWinMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected