diff --git a/VX-API/GetModuleHandleEx2.cpp b/VX-API/GetModuleHandleEx2.cpp index 5e42999..592660f 100644 --- a/VX-API/GetModuleHandleEx2.cpp +++ b/VX-API/GetModuleHandleEx2.cpp @@ -19,6 +19,8 @@ HMODULE GetModuleHandleEx2A(_In_ LPCSTR lpModuleName) if (StringCompareA(lpModuleName, wDllName) == 0) return (HMODULE)Module->BaseAddress; } + + Next = Next->Flink; } return NULL; @@ -46,4 +48,4 @@ HMODULE GetModuleHandleEx2W(_In_ LPCWSTR lpModuleName) } return NULL; -} \ No newline at end of file +}