Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/vncdll/winvnc/VNCHooks/VNCHooks.h
Views: 11783
/////////////////////////////////////////////////////////////////////////////1// RFB LIBRARY / VNC Hooks library2//3// WinVNC uses this DLL to hook into the system message pipeline, allowing it4// to intercept messages which may be relevant to screen update strategy5//6// This library was originally created using MFC as RFBLib.dll, on7// 8/8/97 WEZ8// Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.9//10// This file is part of the VNC system.11//12// The VNC system is free software; you can redistribute it and/or modify13// it under the terms of the GNU General Public License as published by14// the Free Software Foundation; either version 2 of the License, or15// (at your option) any later version.16//17// This program is distributed in the hope that it will be useful,18// but WITHOUT ANY WARRANTY; without even the implied warranty of19// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the20// GNU General Public License for more details.21//22// You should have received a copy of the GNU General Public License23// along with this program; if not, write to the Free Software24// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,25// USA.26//27// TightVNC distribution homepage on the Web: http://www.tightvnc.com/28//29// If the source code for the VNC system is not available from the place30// whence you received this file, check http://www.uk.research.att.com/vnc or contact31// the authors on [email protected] for information on obtaining it.3233// VNC Hooks library34//35// This version created:36// 24/11/973738#if !defined(_VNCHOOKS_DLL_)39#define _VNCHOOKS_DLL_4041#include <windows.h>4243/////////////////////////////////////////////////////////////////////////////44// Define the import/export tags4546#define DllImport __declspec(dllimport)47#define DllExport __declspec(dllexport)4849/////////////////////////////////////////////////////////////////////////////50//51// Functions used by WinVNC5253extern "C"54{55// DLL functions:56DllExport BOOL SetHook(57HWND hWnd,58UINT UpdateMsg,59UINT CopyMsg,60UINT MouseMsg61); // Set the hook62DllExport BOOL UnSetHook(HWND hWnd); // Remove it6364// Control keyboard filtering65DllExport BOOL SetKeyboardFilterHook(BOOL activate);66// Control mouse filtering67DllExport BOOL SetMouseFilterHook(BOOL activate);68// hooks for Local event priority impl. (win9x)69DllExport BOOL SetKeyboardPriorityHook(HWND hwnd, BOOL activate,UINT LocalMsg);70DllExport BOOL SetMousePriorityHook(HWND hwnd, BOOL activate,UINT LocalMsg);71// hooks for Local event priority impl. (winNT)72DllExport BOOL SetKeyboardPriorityLLHook(HWND hwnd, BOOL activate,UINT LocalMsg);73DllExport BOOL SetMousePriorityLLHook(HWND hwnd, BOOL activate,UINT LocalMsg);7475}7677#endif // !defined(_VNCHOOKS_DLL_)787980