Skip to content

Commit

Permalink
yeah
Browse files Browse the repository at this point in the history
  • Loading branch information
freedom7341 committed Jul 28, 2024
1 parent 792b099 commit 5662873
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CscdSvc/hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,14 @@ BOOL WINAPI UnregisterUserApiHookRemote(VOID)
if (hProcess == NULL)
return FALSE;


// Create a remote thread in Winlogon's process
//HANDLE hThread = CreateRemoteThread(hProcess, NULL, stack size, ThreadProc, &vartopass, 0, &varthreadidentifier);

// Cleanup
if (hProcessSnapshot)
CloseHandle(hProcessSnapshot);
if (hProcess)
CloseHandle(hProcess);

// ApiHook is not support on Windows
// 2000 or below!
Expand Down

0 comments on commit 5662873

Please sign in to comment.