Rabbit Remote Control 0.1.0-bate5
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
CHookWindows Class Reference
Inheritance diagram for CHookWindows:
Inheritance graph
[legend]
Collaboration diagram for CHookWindows:
Collaboration graph
[legend]

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 CHookGetHook (CParameterPlugin *pPara, QObject *parent=nullptr)
 
static bool RunCommand (const QString &program, const QStringList &args=QStringList(), int timeout=5000)
 
- Protected Attributes inherited from CHook
CParameterPluginm_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 297 of file HookWindows.cpp.

◆ DisableTaskManager() [2/2]

void CHookWindows::DisableTaskManager ( bool  flag)
private

Definition at line 206 of file HookWindows.cpp.

◆ DisableWindowsKey()

bool CHookWindows::DisableWindowsKey ( )
private

Definition at line 227 of file HookWindows.cpp.

◆ EnableTaskManager()

bool CHookWindows::EnableTaskManager ( )
private

Definition at line 322 of file HookWindows.cpp.

◆ EnableWindowsKey()

bool CHookWindows::EnableWindowsKey ( )
private

Definition at line 269 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 147 of file HookWindows.cpp.

◆ OnRegisterKeyboard()

int CHookWindows::OnRegisterKeyboard ( )
overrideprotectedvirtual

Reimplemented from CHook.

Definition at line 125 of file HookWindows.cpp.

◆ OnRestoreDesktopShortcuts()

int CHookWindows::OnRestoreDesktopShortcuts ( )
overrideprotectedvirtual

Reimplemented from CHook.

Definition at line 153 of file HookWindows.cpp.

◆ OnUnRegisterKeyboard()

int CHookWindows::OnUnRegisterKeyboard ( )
overrideprotectedvirtual

Reimplemented from CHook.

Definition at line 137 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: