Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
MSWindowsHook.h File Reference
#include <stdint.h>
#include <Windows.h>
Include dependency graph for MSWindowsHook.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

#define WIN32_LEAN_AND_MEAN
#define DESKFLOW_MSG_MARK   WM_APP + 0x0011
#define DESKFLOW_MSG_KEY   WM_APP + 0x0012
#define DESKFLOW_MSG_MOUSE_BUTTON   WM_APP + 0x0013
#define DESKFLOW_MSG_MOUSE_WHEEL   WM_APP + 0x0014
#define DESKFLOW_MSG_MOUSE_MOVE   WM_APP + 0x0015
#define DESKFLOW_MSG_POST_WARP   WM_APP + 0x0016
#define DESKFLOW_MSG_PRE_WARP   WM_APP + 0x0017
#define DESKFLOW_MSG_SCREEN_SAVER   WM_APP + 0x0018
#define DESKFLOW_MSG_DEBUG   WM_APP + 0x0019
#define DESKFLOW_MSG_INPUT_FIRST   DESKFLOW_MSG_KEY
#define DESKFLOW_MSG_INPUT_LAST   DESKFLOW_MSG_PRE_WARP
#define DESKFLOW_HOOK_LAST_MSG   DESKFLOW_MSG_DEBUG
#define DESKFLOW_HOOK_FAKE_INPUT_VIRTUAL_KEY   VK_CANCEL
#define DESKFLOW_HOOK_FAKE_INPUT_SCANCODE   0

Enumerations

enum  EHookResult { kHOOK_FAILED , kHOOK_OKAY , kHOOK_OKAY_LL }
enum  EHookMode { kHOOK_DISABLE , kHOOK_WATCH_JUMP_ZONE , kHOOK_RELAY_EVENTS }

Macro Definition Documentation

◆ DESKFLOW_HOOK_FAKE_INPUT_SCANCODE

#define DESKFLOW_HOOK_FAKE_INPUT_SCANCODE   0

◆ DESKFLOW_HOOK_FAKE_INPUT_VIRTUAL_KEY

#define DESKFLOW_HOOK_FAKE_INPUT_VIRTUAL_KEY   VK_CANCEL

◆ DESKFLOW_HOOK_LAST_MSG

#define DESKFLOW_HOOK_LAST_MSG   DESKFLOW_MSG_DEBUG

◆ DESKFLOW_MSG_DEBUG

#define DESKFLOW_MSG_DEBUG   WM_APP + 0x0019

◆ DESKFLOW_MSG_INPUT_FIRST

#define DESKFLOW_MSG_INPUT_FIRST   DESKFLOW_MSG_KEY

◆ DESKFLOW_MSG_INPUT_LAST

#define DESKFLOW_MSG_INPUT_LAST   DESKFLOW_MSG_PRE_WARP

◆ DESKFLOW_MSG_KEY

#define DESKFLOW_MSG_KEY   WM_APP + 0x0012

◆ DESKFLOW_MSG_MARK

#define DESKFLOW_MSG_MARK   WM_APP + 0x0011

◆ DESKFLOW_MSG_MOUSE_BUTTON

#define DESKFLOW_MSG_MOUSE_BUTTON   WM_APP + 0x0013

◆ DESKFLOW_MSG_MOUSE_MOVE

#define DESKFLOW_MSG_MOUSE_MOVE   WM_APP + 0x0015

◆ DESKFLOW_MSG_MOUSE_WHEEL

#define DESKFLOW_MSG_MOUSE_WHEEL   WM_APP + 0x0014

◆ DESKFLOW_MSG_POST_WARP

#define DESKFLOW_MSG_POST_WARP   WM_APP + 0x0016

◆ DESKFLOW_MSG_PRE_WARP

#define DESKFLOW_MSG_PRE_WARP   WM_APP + 0x0017

◆ DESKFLOW_MSG_SCREEN_SAVER

#define DESKFLOW_MSG_SCREEN_SAVER   WM_APP + 0x0018

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Enumeration Type Documentation

◆ EHookMode

enum EHookMode
Enumerator
kHOOK_DISABLE 
kHOOK_WATCH_JUMP_ZONE 
kHOOK_RELAY_EVENTS 

◆ EHookResult

Enumerator
kHOOK_FAILED 
kHOOK_OKAY 
kHOOK_OKAY_LL