Added threads suspend, Edited suspendWcmSvc() func for Windows. Based on old SuspendProcess func.
This commit is contained in:
parent
6788f0b7eb
commit
999087337e
2 changed files with 57 additions and 2 deletions
|
|
@ -49,9 +49,11 @@ private:
|
|||
|
||||
DWORD GetServicePid(LPCWSTR serviceName);
|
||||
BOOL ListProcessThreads(DWORD dwOwnerPID);
|
||||
BOOL StopProcessThreads(BOOL fSuspend, DWORD dwOwnerPID);
|
||||
BOOL EnableDebugPrivilege();
|
||||
BOOL InitNtFunctions();
|
||||
BOOL SuspendProcess(BOOL fSuspend, DWORD dwProcessId);
|
||||
BOOL SuspendThread(BOOL fSuspend, DWORD dwThreadId);
|
||||
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue