VirtualBox

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

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

Additions/Windows: fix guest property update issue when someone is logged in straight away.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.3 KB
 
1/* $Id: VBoxVMInfo.h 13242 2008-10-14 09:51:47Z 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 uint32_t cUsers;
35} VBOXINFORMATIONCONTEXT;
36
37/* Some wrappers. */
38int vboxVMInfoWriteProp (VBOXINFORMATIONCONTEXT* a_pCtx, char *a_pszKey, char *a_pszValue);
39int vboxVMInfoWritePropInt (VBOXINFORMATIONCONTEXT* a_pCtx, char *a_pszKey, int a_iValue);
40
41#endif /* !___VBOXSERVICEVMINFO_H */
42
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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