2015-04-02 22:27:58 +08:00
|
|
|
#pragma once
|
2016-01-05 23:01:17 +08:00
|
|
|
|
2015-04-02 22:27:58 +08:00
|
|
|
#include "ITH.h"
|
|
|
|
|
|
|
|
class ProcessWindow
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ProcessWindow(HWND hDialog);
|
|
|
|
void InitProcessDlg();
|
|
|
|
void RefreshProcess();
|
|
|
|
void AttachProcess();
|
|
|
|
void DetachProcess();
|
2016-01-05 23:01:17 +08:00
|
|
|
void CreateProfileForSelectedProcess();
|
|
|
|
void DeleteProfileForSelectedProcess();
|
2015-04-02 22:27:58 +08:00
|
|
|
void RefreshThread(int index);
|
|
|
|
private:
|
|
|
|
void RefreshThreadWithPID(DWORD pid, bool isAttached);
|
|
|
|
DWORD GetSelectedPID();
|
|
|
|
HWND hDlg;
|
|
|
|
HWND hlProcess;
|
|
|
|
HWND hbRefresh,hbAttach,hbDetach,hbAddProfile,hbRemoveProfile;
|
|
|
|
HWND heOutput;
|
|
|
|
};
|