Rabbit Remote Control 0.0.34
Loading...
Searching...
No Matches
HookWindows.h
1#ifndef CHOOKWINDOWS_H
2#define CHOOKWINDOWS_H
3
4#include "Hook.h"
5#include "Windows.h"
6
7class CHookWindows : public CHook
8{
9 Q_OBJECT
10public:
11 explicit CHookWindows(QObject *parent = nullptr);
12 virtual ~CHookWindows();
13
14public:
15 virtual int RegisterKeyboard() override;
16 virtual int UnRegisterKeyboard() override;
17
18private:
19 static LRESULT CALLBACK keyboardHookProc(INT code, WPARAM wparam, LPARAM lparam);
20 HHOOK m_hKeyboard;
21
22 void DisableTaskManager(bool flag);
23};
24
25#endif // CHOOKWINDOWS_H
The class is the HOOK abstract class.
Definition Hook.h:14