Rabbit Remote Control
0.1.0-de
Loading...
Searching...
No Matches
Src
Windows
HookWindows.h
1
#ifndef CHOOKWINDOWS_H
2
#define CHOOKWINDOWS_H
3
4
#include "Hook.h"
5
#include "Windows.h"
6
7
class
CHookWindows
:
public
CHook
8
{
9
Q_OBJECT
10
public
:
11
explicit
CHookWindows
(
CParameterPlugin
* pParaClient, QObject *parent =
nullptr
);
12
virtual
~CHookWindows
();
13
14
public
:
15
virtual
int
RegisterKeyboard()
override
;
16
virtual
int
UnRegisterKeyboard()
override
;
17
18
private
:
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
CHookWindows
Definition
HookWindows.h:8
CHook
The class is the HOOK abstract class.
Definition
Hook.h:15
CParameterPlugin
Global parameters of plugins.
Definition
ParameterPlugin.h:30
Author: Kang Lin (kl222@126.com)
Copyright (c) Kang Lin Studios All Rights Reserved