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

Function HookLoadLibraryW

source/hook_manager.cpp:418–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 return handle;
417}
418HMODULE WINAPI HookLoadLibraryW(LPCWSTR lpFileName)
419{
420 static const auto trampoline = call_unchecked(&HookLoadLibraryW);
421
422 const HMODULE handle = trampoline(lpFileName);
423 if (handle != nullptr && handle != g_module_handle)
424 install_delayed_hooks(lpFileName, true);
425
426 return handle;
427}
428HMODULE WINAPI HookLoadLibraryExW(LPCWSTR lpFileName, HANDLE hFile, DWORD dwFlags)
429{
430 static const auto trampoline = call_unchecked(&HookLoadLibraryExW);

Callers

nothing calls this directly

Calls 2

call_uncheckedFunction · 0.85
install_delayed_hooksFunction · 0.85

Tested by

no test coverage detected