VBoxTray.h revision a29027bb2378172c7c88610ad5311548b66f96f6
/* $Id$ */
/** @file
* VBoxTray - Guest Additions Tray, Internal Header.
*/
/*
* Copyright (C) 2006-2014 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef ___VBOXTRAY_H
#define ___VBOXTRAY_H
#include <windows.h>
# pragma warning(default : 4163)
#include <tchar.h>
#include <stdio.h>
#include <stdarg.h>
#include <process.h>
#include <iprt/initterm.h>
#include <VBox/VBoxGuestLib.h>
#include <VBoxDisplay.h>
#include "VBoxDispIf.h"
/*
* Windows messsages.
*/
/**
* General VBoxTray messages.
*/
/* The tray icon's ID. */
#define ID_TRAYICON 2000
/*
* 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
{
/* display driver interface, XPDM - WDDM abstraction see VBOXDISPIF** definitions above */
/* The service initialization info and runtime variables. */
typedef struct _VBOXSERVICEINFO
{
char *pszName;
/* Variables. */
void *pInstance;
bool fStarted;
/* Globally unique (system wide) message registration. */
typedef struct _VBOXGLOBALMESSAGE
{
/** Message name. */
char *pszName;
/** Function pointer for handling the message. */
/* Variables. */
/** Message ID;
* to be filled in when registering the actual message. */
extern HWND ghwndToolWindow;
extern HINSTANCE ghInstance;
#endif /* !___VBOXTRAY_H */