general enhancements

This commit is contained in:
vxunderground
2022-09-11 22:59:40 -05:00
parent e26512ae01
commit e18bbca6ec
9 changed files with 36 additions and 18 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ BOOL CheckRemoteDebuggerPresentEx(HANDLE hHandle, PBOOL pbDebuggerPresent)
if (hHandle == NULL)
return FALSE;
HMODULE hModule = GetModuleHandleExW(L"ntdll.dll");
HMODULE hModule = GetModuleHandleEx2W(L"ntdll.dll");
if (hModule == NULL)
return FALSE;