VBoxHook.h revision fd5f006a327367e12b478fe849521f4581dd0cf7
1N/A/* $Id$ */
1N/A/** @file
1N/A * VBoxHook -- Global windows hook dll.
1N/A */
1N/A
1N/A/*
1N/A * Copyright (C) 2006-2010 Oracle Corporation
1N/A *
1N/A * This file is part of VirtualBox Open Source Edition (OSE), as
1N/A * available from http://www.virtualbox.org. This file is free software;
1N/A * you can redistribute it and/or modify it under the terms of the GNU
1N/A * General Public License (GPL) as published by the Free Software
1N/A * Foundation, in version 2 as it comes in the "COPYING" file of the
1N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1N/A */
1N/A#ifndef ___winnt_include_VBoxHook_h
1N/A#define ___winnt_include_VBoxHook_h
1N/A
1N/A/* custom messages as we must install the hook from the main thread */
1N/A#define WM_VBOX_SEAMLESS_ENABLE 0x2001
1N/A#define WM_VBOX_SEAMLESS_DISABLE 0x2002
1N/A#define WM_VBOX_SEAMLESS_UPDATE 0x2003
1N/A#define WM_VBOX_GRAPHICS_SUPPORTED 0x2004
1N/A#define WM_VBOX_GRAPHICS_UNSUPPORTED 0x2005
1N/A
1N/A
1N/A#define VBOXHOOK_DLL_NAME "VBoxHook.dll"
1N/A#define VBOXHOOK_GLOBAL_DT_EVENT_NAME "Local\\VBoxHookDtNotifyEvent"
1N/A#define VBOXHOOK_GLOBAL_WT_EVENT_NAME "Local\\VBoxHookWtNotifyEvent"
1N/A
1N/ABOOL VBoxHookInstallActiveDesktopTracker(HMODULE hDll);
1N/ABOOL VBoxHookRemoveActiveDesktopTracker();
1N/A
1N/ABOOL VBoxHookInstallWindowTracker(HMODULE hDll);
1N/ABOOL VBoxHookRemoveWindowTracker();
1N/A
1N/A#endif
1N/A
1N/A