Rabbit Remote Control 0.1.0-bate16
Loading...
Searching...
No Matches
CHookWindows Class Reference
Inheritance diagram for CHookWindows:
Collaboration diagram for CHookWindows:

Public Member Functions

 CHookWindows (CParameterPlugin *pParaClient, QObject *parent=nullptr)
Public Member Functions inherited from CHook
virtual int RegisterKeyboard ()
virtual int UnRegisterKeyboard ()
virtual bool eventFilter (QObject *watched, QEvent *event) override

Protected Member Functions

virtual int OnRegisterKeyboard () override
virtual int OnUnRegisterKeyboard () override
virtual int OnDisableDesktopShortcuts () override
virtual int OnRestoreDesktopShortcuts () override
Protected Member Functions inherited from CHook
 CHook (CParameterPlugin *pPara, QObject *parent=nullptr)

Private Member Functions

void DisableTaskManager (bool flag)
bool DisableWindowsKey ()
bool EnableWindowsKey ()
bool DisableTaskManager ()
bool EnableTaskManager ()

Static Private Member Functions

static LRESULT CALLBACK keyboardHookProc (INT code, WPARAM wparam, LPARAM lparam)

Private Attributes

HHOOK m_hKeyboard

Additional Inherited Members

Static Public Member Functions inherited from CHook
static CHook * GetHook (CParameterPlugin *pPara, QObject *parent=nullptr)
static bool RunCommand (const QString &program, const QStringList &args=QStringList(), int timeout=5000)
Protected Attributes inherited from CHook
CParameterPlugin * m_pParameterPlugin

Detailed Description

Definition at line 9 of file HookWindows.h.

Constructor & Destructor Documentation

◆ ~CHookWindows()

CHookWindows::~CHookWindows ( )
virtual

Definition at line 22 of file HookWindows.cpp.

Member Function Documentation

◆ DisableTaskManager() [1/2]

bool CHookWindows::DisableTaskManager ( )
private

Definition at line 301 of file HookWindows.cpp.

◆ DisableTaskManager() [2/2]

void CHookWindows::DisableTaskManager ( bool flag)
private

Definition at line 210 of file HookWindows.cpp.

◆ DisableWindowsKey()

bool CHookWindows::DisableWindowsKey ( )
private

Definition at line 231 of file HookWindows.cpp.

◆ EnableTaskManager()

bool CHookWindows::EnableTaskManager ( )
private

Definition at line 326 of file HookWindows.cpp.

◆ EnableWindowsKey()

bool CHookWindows::EnableWindowsKey ( )
private

Definition at line 273 of file HookWindows.cpp.

◆ keyboardHookProc()

LRESULT CALLBACK CHookWindows::keyboardHookProc ( INT code,
WPARAM wparam,
LPARAM lparam )
staticprivate

Definition at line 28 of file HookWindows.cpp.

◆ OnDisableDesktopShortcuts()

int CHookWindows::OnDisableDesktopShortcuts ( )
overrideprotectedvirtual

Reimplemented from CHook.

Definition at line 151 of file HookWindows.cpp.

◆ OnRegisterKeyboard()

int CHookWindows::OnRegisterKeyboard ( )
overrideprotectedvirtual

Reimplemented from CHook.

Definition at line 129 of file HookWindows.cpp.

◆ OnRestoreDesktopShortcuts()

int CHookWindows::OnRestoreDesktopShortcuts ( )
overrideprotectedvirtual

Reimplemented from CHook.

Definition at line 157 of file HookWindows.cpp.

◆ OnUnRegisterKeyboard()

int CHookWindows::OnUnRegisterKeyboard ( )
overrideprotectedvirtual

Reimplemented from CHook.

Definition at line 141 of file HookWindows.cpp.

Member Data Documentation

◆ m_hKeyboard

HHOOK CHookWindows::m_hKeyboard
private

Definition at line 24 of file HookWindows.h.


The documentation for this class was generated from the following files: