| 396 | } |
| 397 | |
| 398 | HMODULE WINAPI HookLoadLibraryA(LPCSTR lpFileName) |
| 399 | { |
| 400 | static const auto trampoline = call_unchecked(&HookLoadLibraryA); |
| 401 | |
| 402 | const HMODULE handle = trampoline(lpFileName); |
| 403 | if (handle != nullptr && handle != g_module_handle) |
| 404 | install_delayed_hooks(lpFileName, true); // Need to check all modules, since this 'LoadLibrary' call may have loaded other linked dependencies |
| 405 | |
| 406 | return handle; |
| 407 | } |
| 408 | HMODULE WINAPI HookLoadLibraryExA(LPCSTR lpFileName, HANDLE hFile, DWORD dwFlags) |
| 409 | { |
| 410 | static const auto trampoline = call_unchecked(&HookLoadLibraryExA); |
nothing calls this directly
no test coverage detected