blob: a2f62f950b6992ce53265679f2d970d4e34d1360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* Benjamin DELPY `gentilkiwi`
http://blog.gentilkiwi.com
benjamin@gentilkiwi.com
Licence : http://creativecommons.org/licenses/by/3.0/fr/
*/
#pragma once
#include "globdefs.h"
#include <tlhelp32.h>
class mod_thread
{
public:
static bool getList(vector<THREADENTRY32> * monVecteurThreads, DWORD * processId = NULL);
static bool suspend(DWORD & threadId);
static bool resume(DWORD & threadId);
static bool stop(DWORD & threadId, DWORD exitCode = 0);
static bool quit(DWORD & threadId);
};
|