VBoxTray.h revision 92717ff0762d9966fec99b209450611e42af2ca1
45c94fd5bc3ee64a3577f858c7eca5a566601c6fvboxsync * VBoxTray - Guest Additions Tray, Internal Header.
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * Copyright (C) 2006-2007 Oracle Corporation
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * available from http://www.virtualbox.org. This file is free software;
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * you can redistribute it and/or modify it under the terms of the GNU
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * General Public License (GPL) as published by the Free Software
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync# define _InterlockedExchange _InterlockedExchange_StupidDDKVsCompilerCrap
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync# define _InterlockedExchangeAdd _InterlockedExchangeAdd_StupidDDKVsCompilerCrap
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync# define _InterlockedCompareExchange _InterlockedCompareExchange_StupidDDKVsCompilerCrap
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync# define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync# define _interlockedbittestandset _interlockedbittestandset_StupidDDKVsCompilerCrap
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync# define _interlockedbittestandreset _interlockedbittestandreset_StupidDDKVsCompilerCrap
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync# define _interlockedbittestandset64 _interlockedbittestandset64_StupidDDKVsCompilerCrap
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync# define _interlockedbittestandreset64 _interlockedbittestandreset64_StupidDDKVsCompilerCrap
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync#include <VBox/VBoxGuest.h> /** @todo use the VbglR3 interface! */
45c94fd5bc3ee64a3577f858c7eca5a566601c6fvboxsync * Windows messsages.
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * General VBoxTray messages.
1a06df6ab1717878d43165be3ce300284abf9742vboxsync * VM/VMMDev related messsages.
45c94fd5bc3ee64a3577f858c7eca5a566601c6fvboxsync * VRDP messages.
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync/* The tray icon's ID. */
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync * Timer IDs.
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync/* The environment information for services. */
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync /* display driver interface, XPDM - WDDM abstraction see VBOXDISPIF** definitions above */
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync/* The service initialization info and runtime variables. */
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync int (* pfnInit) (const VBOXSERVICEENV *pEnv, void **ppInstance, bool *pfStartThread);
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync unsigned (__stdcall * pfnThread) (void *pInstance);
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync void (* pfnDestroy) (const VBOXSERVICEENV *pEnv, void *pInstance);
45c94fd5bc3ee64a3577f858c7eca5a566601c6fvboxsync /* Variables. */
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync/* Globally unique (system wide) message registration. */
45c94fd5bc3ee64a3577f858c7eca5a566601c6fvboxsync /** Message name. */
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync /** Function pointer for handling the message. */
45c94fd5bc3ee64a3577f858c7eca5a566601c6fvboxsync /* Variables. */
45c94fd5bc3ee64a3577f858c7eca5a566601c6fvboxsync /** Message ID;
45c94fd5bc3ee64a3577f858c7eca5a566601c6fvboxsync * to be filled in when registering the actual message. */
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync#endif /* !___VBOXTRAY_H */