VirtualBox

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

Last change on this file since 12723 was 11982, checked in by vboxsync, 16 years ago

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1/* $Id: VBoxVMInfo.h 11982 2008-09-02 13:09:44Z vboxsync $ */
2/** @file
3 * VBoxVMInfo - Virtual machine (guest) information for the host.
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 ___VBOXSERVICEVMINFO_H
14#define ___VBOXSERVICEVMINFO_H
15
16/* The guest management service prototypes. */
17int vboxVMInfoInit (const VBOXSERVICEENV *pEnv, void **ppInstance, bool *pfStartThread);
18unsigned __stdcall vboxVMInfoThread (void *pInstance);
19void vboxVMInfoDestroy (const VBOXSERVICEENV *pEnv, void *pInstance);
20
21/* The following constant may be defined by including NtStatus.h. */
22#define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
23
24/* Prototypes for dynamic loading. */
25typedef DWORD (WINAPI* fnWTSGetActiveConsoleSessionId)();
26
27/* The information context. */
28typedef struct _VBOXINFORMATIONCONTEXT
29{
30 const VBOXSERVICEENV *pEnv;
31 uint32_t iInfoSvcClientID;
32 fnWTSGetActiveConsoleSessionId pfnWTSGetActiveConsoleSessionId;
33 BOOL fFirstRun;
34} VBOXINFORMATIONCONTEXT;
35
36/* Some wrappers. */
37int vboxVMInfoWriteProp (VBOXINFORMATIONCONTEXT* a_pCtx, char *a_pszKey, char *a_pszValue);
38int vboxVMInfoWritePropInt (VBOXINFORMATIONCONTEXT* a_pCtx, char *a_pszKey, int a_iValue);
39
40#endif /* !___VBOXSERVICEVMINFO_H */
41
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