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/VBoxTray/VBoxTray.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/VBoxTray/VBoxTray.h')
| -rw-r--r-- | src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h b/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h index 132c74f8..139f962f 100644 --- a/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h +++ b/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h @@ -4,7 +4,7 @@ */ /* - * Copyright (C) 2006-2007 Oracle Corporation + * Copyright (C) 2006-2012 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -54,6 +54,17 @@ #include "VBoxDispIf.h" +#ifdef DEBUG_misha +#define WARN(_m) do { \ + Assert(0); \ + Log(_m); \ + } while (0) +#else +#define WARN(_m) do { \ + Log(_m); \ + } while (0) +#endif + /* * Windows messsages. */ @@ -80,6 +91,9 @@ * Timer IDs. */ #define TIMERID_VBOXTRAY_CHECK_HOSTVERSION 1000 +#define TIMERID_VBOXTRAY_CAPS_TIMER 1001 +#define TIMERID_VBOXTRAY_DT_TIMER 1002 +#define TIMERID_VBOXTRAY_ST_DELAYED_INIT_TIMER 1003 /* The environment information for services. */ typedef struct _VBOXSERVICEENV @@ -97,6 +111,7 @@ typedef struct _VBOXSERVICEINFO char *pszName; int (* pfnInit) (const VBOXSERVICEENV *pEnv, void **ppInstance, bool *pfStartThread); unsigned (__stdcall * pfnThread) (void *pInstance); + void (* pfnStop) (const VBOXSERVICEENV *pEnv, void *pInstance); void (* pfnDestroy) (const VBOXSERVICEENV *pEnv, void *pInstance); /* Variables. */ |
