MCPcopy Create free account
hub / github.com/crosire/reshade / get_module_path

Function get_module_path

source/dll_main.cpp:103–107  ·  view source on GitHub ↗

Returns the path to the module file identified by the specified handle.

Source from the content-addressed store, hash-verified

101/// Returns the path to the module file identified by the specified <paramref name="module"/> handle.
102/// </summary>
103std::filesystem::path get_module_path(HMODULE module)
104{
105 WCHAR buf[4096];
106 return std::filesystem::path(buf, buf + GetModuleFileNameW(module, buf, ARRAYSIZE(buf)));
107}
108
109#ifndef RESHADE_TEST_APPLICATION
110

Callers 3

ReShadeRegisterAddonFunction · 0.85
WinMainFunction · 0.85
DllMainFunction · 0.85

Calls

no outgoing calls

Tested by 1

WinMainFunction · 0.68