VirtualBox

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

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

InnoTek -> innotek: all the headers and comments.

  • 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 as published by the Free Software Foundation,
14 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
15 * distribution. VirtualBox OSE is distributed in the hope that it will
16 * be useful, but WITHOUT ANY WARRANTY of any kind.
17 *
18 * If you received this file as part of a commercial VirtualBox
19 * distribution, then only the terms of your commercial VirtualBox
20 * license agreement apply instead of the previous paragraph.
21 *
22 */
23
24#ifndef __VBOXSERVICE__H
25#define __VBOXSERVICE__H
26
27#include <windows.h>
28#include <tchar.h>
29#include <stdio.h>
30#include <stdarg.h>
31#include <process.h>
32
33#include <VBox/VBoxGuest.h>
34#include <VBox/version.h>
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#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