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
@@ -7,7 +7,7 @@ BOOL AdfOpenProcessOnCsrss(VOID)
CSRGETPROCESSID CsrGetProcessId = NULL;
HANDLE hCsrHandle = NULL;
hNtdll = GetModuleHandleExW(L"ntdll.dll");
hNtdll = GetModuleHandleEx2W(L"ntdll.dll");
if (hNtdll == NULL)
return FALSE;