Function renaming + annotations

This commit is contained in:
vxunderground
2022-09-13 07:20:57 -05:00
parent f0b5d2bd5d
commit a623af12b7
41 changed files with 143 additions and 160 deletions
@@ -5,7 +5,7 @@ BOOL AdfIsCreateProcessDebugEventCodeSet(VOID)
WCHAR FilePath[MAX_PATH * sizeof(WCHAR)] = { 0 };
HANDLE hHandle = INVALID_HANDLE_VALUE;
if (GetProcessPathFromProcessParametersW((MAX_PATH * sizeof(WCHAR)), FilePath) == 0)
if (GetProcessPathFromUserProcessParametersW((MAX_PATH * sizeof(WCHAR)), FilePath) == 0)
return FALSE;
hHandle = CreateFileW(FilePath, GENERIC_READ, 0, NULL, OPEN_EXISTING, 0, 0);