Userland hooks: ignore api-ms-* DLLs

This commit is contained in:
Maxime Meignan
2023-11-03 16:17:59 +01:00
parent bf749f54c7
commit 3c3cc307ce
@@ -426,6 +426,9 @@ _Ret_notnull_ HOOK* searchHooks(const char* csvFileName) {
if (dll_name.Buffer == NULL) {
continue;
}
if (!_wcsnicmp(dll_name.Buffer, L"api-ms", 6)) {
continue;
}
WCHAR* moduleName = currentModuleEntry->FullDllName.Buffer;
if (!hooksFoundInLastModule) {