MCPcopy Create free account
hub / github.com/RussellJerome/UnrealModLoader / GetModuleFilePath

Function GetModuleFilePath

LoaderAutoInjector/Loader/Loader.cpp:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "../../UnrealEngineModLoader/INI/INI.h"
7
8std::string GetModuleFilePath(HMODULE hModule)
9{
10 std::string ModuleName = "";
11 char szFileName[MAX_PATH] = { 0 };
12
13 if (GetModuleFileNameA(hModule, szFileName, MAX_PATH))
14 ModuleName = szFileName;
15
16 return ModuleName;
17}
18
19void InjectDLL(std::string path)
20{

Callers 1

LoadModLoaderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected