VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/include/VBoxHook.h@ 4663

Last change on this file since 4663 was 4461, checked in by vboxsync, 17 years ago

Rewrote seamless notification handling.

File size: 756 bytes
Line 
1/** @file
2 *
3 * VBoxHook -- Global windows hook dll
4 *
5 * Copyright (C) 2006-2007 innotek GmbH
6 *
7 * innotek GmbH confidential
8 * All rights reserved
9 */
10#ifndef __VBoxHook_h__
11#define __VBoxHook_h__
12
13/* custom messages as we must install the hook from the main thread */
14#define WM_VBOX_INSTALL_SEAMLESS_HOOK 0x2001
15#define WM_VBOX_REMOVE_SEAMLESS_HOOK 0x2002
16#define WM_VBOX_SEAMLESS_UPDATE 0x2003
17
18
19#define VBOXHOOK_DLL_NAME "VBoxHook.dll"
20#define VBOXHOOK_GLOBAL_EVENT_NAME "Local\\VBoxHookNotifyEvent"
21
22/* Install the global message hook */
23BOOL VBoxInstallHook(HMODULE hDll);
24
25/* Remove the global message hook */
26BOOL VBoxRemoveHook();
27
28#endif /* __VBoxHook_h__ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette