-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCryModuleWindow.h
52 lines (42 loc) · 1.24 KB
/
CryModuleWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef _CrySearch_CryModuleWindow_h_
#define _CrySearch_CryModuleWindow_h_
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#include "CrySearchArrayCtrl.h"
// Represents the modules tab window in CrySearch.
class CryModuleWindow : public ParentCtrl
{
private:
ToolBar tBar;
Label mModulesCount;
CrySearchArrayCtrl mModules;
void ToolBar(Bar& pBar);
void ModuleListRightClick(Bar& pBar);
void LoadLibraryButtonClicked();
void LoadLibraryThread(String pLibrary);
void LoadLibraryAsyncDone(BOOL result);
void LoadLibraryAsyncDoneThreadSafe(BOOL result);
void UnloadModule();
void UnloadModuleThread(const SIZE_T pBase);
void UnloadModuleAsyncDone(const SIZE_T pBase);
void UnloadModuleAsyncDoneThreadSafe(const SIZE_T pBase);
void RefreshModulesList();
void DumpModuleButton(const SIZE_T pluginBase);
void DumpModuleButtonSubMenu(Bar& pBar);
void DumpModuleSubMenu(Bar& pBar);
void RestorePEHeader();
void HideModule();
void OpenModulePathInExplorer();
void DumpAllModulesButton();
void DumpModuleSectionButton();
Callback1<BOOL> InjectionDone;
Callback1<SIZE_T> UnloadDone;
typedef CryModuleWindow CLASSNAME;
public:
CryModuleWindow();
~CryModuleWindow();
void Initialize();
void ClearList();
void UpdateToolbar();
};
#endif