| 6914 |
dpurdie |
1 |
//==============================================================================
|
|
|
2 |
//
|
|
|
3 |
// Copyright : (C) 2008 Videlli Limited
|
|
|
4 |
// This file belongs to Videlli Limited
|
|
|
5 |
//
|
|
|
6 |
//==============================================================================
|
|
|
7 |
//
|
|
|
8 |
// Purpose :
|
|
|
9 |
// Process entity class. A container of name, path, identifier,
|
|
|
10 |
// parent identifier and creation time attributes.
|
|
|
11 |
//
|
|
|
12 |
//==============================================================================
|
|
|
13 |
#include <windows.h>
|
|
|
14 |
#include <string>
|
|
|
15 |
|
|
|
16 |
class Process
|
|
|
17 |
{
|
|
|
18 |
public:
|
|
|
19 |
Process( const std::string &path, const std::string &name, const int pid, const int ppid, ULONGLONG creationTime );
|
|
|
20 |
virtual ~Process();
|
|
|
21 |
std::string mName;
|
|
|
22 |
std::string mPath;
|
|
|
23 |
int mPid;
|
|
|
24 |
int mPpid;
|
|
|
25 |
ULONGLONG mTime;
|
|
|
26 |
};
|