VirtualBox

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

最後變更 在這個檔案從12250是 11982,由 vboxsync 提交於 16 年 前

All: license header changes for 2.0 (OSE headers, add Sun GPL/LGPL disclaimer)

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.3 KB
 
1/* $Id: VBoxService.h 11982 2008-09-02 13:09:44Z vboxsync $ */
2/** @file
3 * VBoxService - Guest Additions Service
4 */
5
6/*
7 * Copyright (C) 2006-2007 Sun Microsystems, Inc.
8 *
9 * Sun Microsystems, Inc. confidential
10 * All rights reserved
11 */
12
13#ifndef ___VBOXSERVICE_H
14#define ___VBOXSERVICE_H
15
16#include <winsock2.h>
17#include <ws2tcpip.h>
18
19#include <tchar.h>
20#include <stdio.h> /* Get rid of this - use unicode only later! */
21#include <stdarg.h>
22#include <process.h>
23#include <aclapi.h>
24
25#include <iprt/alloc.h>
26#include <iprt/initterm.h>
27#include <iprt/string.h>
28#include <iprt/log.h>
29
30#include <VBox/version.h>
31#include <VBox/VBoxGuest.h>
32#include <VBox/Log.h>
33
34/* The environment information for services. */
35typedef struct _VBOXSERVICEENV
36{
37 HINSTANCE hInstance;
38 HANDLE hDriver;
39 HANDLE hStopEvent;
40} VBOXSERVICEENV;
41
42/* The service initialization info and runtime variables. */
43typedef struct _VBOXSERVICEINFO
44{
45 char *pszName;
46 int (* pfnInit) (const VBOXSERVICEENV *pEnv, void **ppInstance, bool *pfStartThread);
47 unsigned (__stdcall * pfnThread) (void *pInstance);
48 void (* pfnDestroy) (const VBOXSERVICEENV *pEnv, void *pInstance);
49
50 /* Variables. */
51 HANDLE hThread;
52 void *pInstance;
53 bool fStarted;
54
55} VBOXSERVICEINFO;
56
57
58extern HWND gToolWindow;
59
60#endif /* !___VBOXSERVICE_H */
61
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette