diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-03-26 19:21:20 +0000 |
|---|---|---|
| committer | <> | 2014-05-08 15:03:54 +0000 |
| commit | fb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch) | |
| tree | c2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/Additions/WINNT/include/VBoxHook.h | |
| parent | 58ed4748338f9466599adfc8a9171280ed99e23f (diff) | |
| download | VirtualBox-master.tar.gz | |
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/Additions/WINNT/include/VBoxHook.h')
| -rw-r--r-- | src/VBox/Additions/WINNT/include/VBoxHook.h | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/src/VBox/Additions/WINNT/include/VBoxHook.h b/src/VBox/Additions/WINNT/include/VBoxHook.h index 975c5dfe..9e7ebcdf 100644 --- a/src/VBox/Additions/WINNT/include/VBoxHook.h +++ b/src/VBox/Additions/WINNT/include/VBoxHook.h @@ -1,8 +1,10 @@ +/* $Id: VBoxHook.h $ */ /** @file - * - * VBoxHook -- Global windows hook dll - * - * Copyright (C) 2006-2007 Oracle Corporation + * VBoxHook -- Global windows hook dll. + */ + +/* + * Copyright (C) 2006-2013 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -12,22 +14,27 @@ * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ -#ifndef __VBoxHook_h__ -#define __VBoxHook_h__ +#ifndef ___winnt_include_VBoxHook_h +#define ___winnt_include_VBoxHook_h /* custom messages as we must install the hook from the main thread */ -#define WM_VBOX_INSTALL_SEAMLESS_HOOK 0x2001 -#define WM_VBOX_REMOVE_SEAMLESS_HOOK 0x2002 +/** @todo r=andy Use WM_APP + n offsets here! */ +#define WM_VBOX_SEAMLESS_ENABLE 0x2001 +#define WM_VBOX_SEAMLESS_DISABLE 0x2002 #define WM_VBOX_SEAMLESS_UPDATE 0x2003 +#define WM_VBOX_GRAPHICS_SUPPORTED 0x2004 +#define WM_VBOX_GRAPHICS_UNSUPPORTED 0x2005 + +#define VBOXHOOK_DLL_NAME "VBoxHook.dll" +#define VBOXHOOK_GLOBAL_DT_EVENT_NAME "Local\\VBoxHookDtNotifyEvent" +#define VBOXHOOK_GLOBAL_WT_EVENT_NAME "Local\\VBoxHookWtNotifyEvent" -#define VBOXHOOK_DLL_NAME "VBoxHook.dll" -#define VBOXHOOK_GLOBAL_EVENT_NAME "Local\\VBoxHookNotifyEvent" +BOOL VBoxHookInstallActiveDesktopTracker(HMODULE hDll); +BOOL VBoxHookRemoveActiveDesktopTracker(); -/* Install the global message hook */ -BOOL VBoxInstallHook(HMODULE hDll); +BOOL VBoxHookInstallWindowTracker(HMODULE hDll); +BOOL VBoxHookRemoveWindowTracker(); -/* Remove the global message hook */ -BOOL VBoxRemoveHook(); +#endif -#endif /* __VBoxHook_h__ */ |
