mirror of
https://github.com/vxunderground/VX-API
synced 2026-06-06 16:54:55 +00:00
Function renaming + annotations
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user