| 426 | return handle; |
| 427 | } |
| 428 | HMODULE WINAPI HookLoadLibraryExW(LPCWSTR lpFileName, HANDLE hFile, DWORD dwFlags) |
| 429 | { |
| 430 | static const auto trampoline = call_unchecked(&HookLoadLibraryExW); |
| 431 | |
| 432 | const HMODULE handle = trampoline(lpFileName, hFile, dwFlags); |
| 433 | if (handle != nullptr && handle != g_module_handle && (dwFlags & (LOAD_LIBRARY_AS_DATAFILE | LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE | LOAD_LIBRARY_AS_IMAGE_RESOURCE)) == 0) |
| 434 | install_delayed_hooks(lpFileName, true); |
| 435 | |
| 436 | return handle; |
| 437 | } |
| 438 | |
| 439 | #endif |
| 440 |
nothing calls this directly
no test coverage detected