MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Attach

Function Attach

IntelPresentMon/FlashInjector/LibraryInject.cpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 void Attach(uint32_t processId, const std::filesystem::path& dllPath)
106 {
107 auto hTargetProcess = LibraryInject::OpenProcessAndMaybeElevate_(processId);
108 LibraryInject::InjectDll(hTargetProcess, dllPath);
109 }
110
111 ProcessMap GetProcessNames()
112 {

Callers 1

mainFunction · 0.85

Calls 2

InjectDllFunction · 0.85

Tested by

no test coverage detected