VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxService/VBoxService.h@ 7104

Last change on this file since 7104 was 5999, checked in by vboxsync, 17 years ago

The Giant CDDL Dual-License Header Change.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1/** @file
2 *
3 * VBoxService - Guest Additions Service
4 *
5 */
6
7/*
8 * Copyright (C) 2006-2007 innotek GmbH
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License (GPL) as published by the Free Software
14 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17 */
18
19#ifndef __VBOXSERVICE__H
20#define __VBOXSERVICE__H
21
22#include <windows.h>
23#include <tchar.h>
24#include <stdio.h>
25#include <stdarg.h>
26#include <process.h>
27
28#include <VBox/VBoxGuest.h>
29#include <VBox/version.h>
30
31
32#define WM_VBOX_RESTORED 0x2005
33#define WM_VBOX_CHECK_VRDP 0x2006
34
35
36/* The environment information for services. */
37typedef struct _VBOXSERVICEENV
38{
39 HINSTANCE hInstance;
40 HANDLE hDriver;
41 HANDLE hStopEvent;
42} VBOXSERVICEENV;
43
44/* The service initialization info and runtime variables. */
45typedef struct _VBOXSERVICEINFO
46{
47 char *pszName;
48 int (* pfnInit) (const VBOXSERVICEENV *pEnv, void **ppInstance, bool *pfStartThread);
49 unsigned (__stdcall * pfnThread) (void *pInstance);
50 void (* pfnDestroy) (const VBOXSERVICEENV *pEnv, void *pInstance);
51
52 /* Variables. */
53 HANDLE hThread;
54 void *pInstance;
55 bool fStarted;
56
57} VBOXSERVICEINFO;
58
59
60extern HWND gToolWindow;
61
62#endif /* __VBOXSERVICE__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