1
// Copyright (C) 2001 Constantin Kaplinsky. All Rights Reserved.
2
// Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
4
// This file is part of the VNC system.
6
// This program is free software; you can redistribute it and/or modify
7
// it under the terms of the GNU General Public License as published by
8
// the Free Software Foundation; either version 2 of the License, or
9
// (at your option) any later version.
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21
// TightVNC distribution homepage on the Web: http://www.tightvnc.com/
23
// SharedData.cpp : Storage for the global data in the DLL
24
// This file is used only when your compiler is Borland C++.
26
// Change default data segment and data class names
27
#define SHARED __attribute__((section(".shr"), shared))
31
SHARED HWND hVeneto = NULL;
32
SHARED UINT UpdateRectMessage = 0;
33
SHARED UINT CopyRectMessage = 0;
34
SHARED UINT MouseMoveMessage = 0;
35
SHARED UINT LocalMouseMessage = 0;
36
SHARED UINT LocalKeyboardMessage = 0;
37
SHARED HHOOK hCallWndHook = NULL; // Handle to the CallWnd hook
38
SHARED HHOOK hGetMsgHook = NULL; // Handle to the GetMsg hook
39
SHARED HHOOK hDialogMsgHook = NULL; // Handle to the DialogMsg hook
40
SHARED HHOOK hLLKeyboardHook = NULL; // Handle to LowLevel kbd hook
41
SHARED HHOOK hLLMouseHook = NULL; // Handle to LowLevel mouse hook
42
SHARED HHOOK hLLKeyboardPrHook = NULL; // Handle to LowLevel kbd hook for local event priority
43
SHARED HHOOK hLLMousePrHook = NULL; // Handle to LowLevel mouse hook for local event priority
44
SHARED HHOOK hKeyboardHook = NULL; // Handle to kbd hook
45
SHARED HHOOK hMouseHook = NULL; // Handle to mouse hook
46
SHARED HWND hKeyboardPriorityWindow = NULL;
47
SHARED HWND hMousePriorityWindow = NULL;
48
__declspec(dllexport) BOOL __localInputsDisabled = false;