Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayHook.h
Go to the documentation of this file.
1
//
2
// GrayHook
3
// Externally (and internally) consumed header.
4
//
5
6
namespace
GrayHook
7
{
8
9
class
CHookProcess
10
{
11
// What is the general state of this hooked app. From both the master and slaves perspective.
12
13
DWORD m_dwProcessId;
// My Process Id. (I might be the master?)
14
int
m_nWindows;
// Number of top level windows that may be hooked. Usually 1.
15
16
bool
m_bHookRecordInput;
17
bool
m_bHookRecordOutput;
// Hook output window for recording.
18
19
bool
m_bOffScreen;
// The App has been "virtualized". e.e. moved off screen to control out of users view.
20
bool
m_bHookPlayInput;
// Hook to inject/playback inputs
21
22
// App specific data ready to read semaphore.
23
};
24
25
class
CHookProcessMaster
:
public
CHookProcess
26
{
27
// What can the master do with this process.
28
29
// Record Keys/Mouse
30
// Record Window
31
// Play/Inject Key
32
// Play/Inject Mouse
33
34
};
35
36
class
CHookMaster
37
{
38
// The master uses this interface.
39
DWORD m_dwProcessId;
// The masters process id.
40
41
// Global data ready to read semaphore. All slaves can wake up and read.
42
// Global master ready to read. The master should wake up and read.
43
44
public
:
45
CHookProcessMaster
*
HookProcess
(DWORD dwProcessId);
46
void
UnHookProcess
(DWORD dwProcessId);
47
};
48
49
}
GrayHook::CHookMaster
Definition:
GrayHook.h:37
GrayHook::CHookMaster::UnHookProcess
void UnHookProcess(DWORD dwProcessId)
GrayHook::CHookMaster::HookProcess
CHookProcessMaster * HookProcess(DWORD dwProcessId)
GrayHook::CHookProcessMaster
Definition:
GrayHook.h:26
GrayHook::CHookProcess
Definition:
GrayHook.h:10
GrayHook
Definition:
GrayHook.h:7
GrayHook
GrayHook.h
Generated on Tue Feb 2 2021 11:29:35 for Gray C++ Libraries by
1.9.1