| 416 | return handle; |
| 417 | } |
| 418 | HMODULE 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 | } |
| 428 | HMODULE WINAPI HookLoadLibraryExW(LPCWSTR lpFileName, HANDLE hFile, DWORD dwFlags) |
| 429 | { |
| 430 | static const auto trampoline = call_unchecked(&HookLoadLibraryExW); |
nothing calls this directly
no test coverage detected