Deskflow 1.26.0.418
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
MSWindowsHook Class Reference

Loads and provides functions for the Windows hook. More...

#include <MSWindowsHook.h>

Public Member Functions

 MSWindowsHook ()=default
 ~MSWindowsHook ()
void loadLibrary ()
int init (DWORD threadID)
int cleanup ()
void setSides (uint32_t sides)
uint32_t getSides ()
void setZone (int32_t x, int32_t y, int32_t w, int32_t h, int32_t jumpZoneSize)
void setMode (EHookMode mode)

Static Public Member Functions

static bool getPhysicalKeyState (BYTE keys[256])
 Copy the hook's physical key state; false until it has observed an event.
static EHookResult install ()
static int uninstall ()
static int installScreenSaver ()
static int uninstallScreenSaver ()

Detailed Description

Loads and provides functions for the Windows hook.

Constructor & Destructor Documentation

◆ MSWindowsHook()

MSWindowsHook::MSWindowsHook ( )
default

◆ ~MSWindowsHook()

MSWindowsHook::~MSWindowsHook ( )

Member Function Documentation

◆ cleanup()

int MSWindowsHook::cleanup ( )

◆ getPhysicalKeyState()

bool MSWindowsHook::getPhysicalKeyState ( BYTE keys[256])
static

Copy the hook's physical key state; false until it has observed an event.

◆ getSides()

uint32_t MSWindowsHook::getSides ( )

◆ init()

int MSWindowsHook::init ( DWORD threadID)

◆ install()

EHookResult MSWindowsHook::install ( )
static

◆ installScreenSaver()

int MSWindowsHook::installScreenSaver ( )
static

◆ loadLibrary()

void MSWindowsHook::loadLibrary ( )

◆ setMode()

void MSWindowsHook::setMode ( EHookMode mode)

◆ setSides()

void MSWindowsHook::setSides ( uint32_t sides)

◆ setZone()

void MSWindowsHook::setZone ( int32_t x,
int32_t y,
int32_t w,
int32_t h,
int32_t jumpZoneSize )

◆ uninstall()

int MSWindowsHook::uninstall ( )
static

◆ uninstallScreenSaver()

int MSWindowsHook::uninstallScreenSaver ( )
static

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