2
* Virtual Device for Guest <-> VMM/Host communication, Mixed Up Mess. (ADD,DEV)
6
* Copyright (C) 2006-2009 Sun Microsystems, Inc.
8
* This file is part of VirtualBox Open Source Edition (OSE), as
9
* available from http://www.virtualbox.org. This file is free software;
10
* you can redistribute it and/or modify it under the terms of the GNU
11
* General Public License (GPL) as published by the Free Software
12
* Foundation, in version 2 as it comes in the "COPYING" file of the
13
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16
* The contents of this file may alternatively be used under the terms
17
* of the Common Development and Distribution License Version 1.0
18
* (CDDL) only, as it comes in the "COPYING.CDDL" file of the
19
* VirtualBox OSE distribution, in which case the provisions of the
20
* CDDL are applicable instead of those of the GPL.
22
* You may elect to license modified versions of this file under the
23
* terms and conditions of either the GPL or the CDDL or both.
25
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
26
* Clara, CA 95054 USA or visit http://www.sun.com if you need
27
* additional information or have any questions.
30
#ifndef ___VBox_VMMDev2_h
31
#define ___VBox_VMMDev2_h
33
#include <iprt/assert.h>
38
* Used by VbglR3SeamlessWaitEvent
40
* @ingroup grp_vmmdev_req
42
* @todo DARN! DARN! DARN! Who forgot to do the 32-bit hack here???
45
* We will now have to carefully check how our compilers have treated this
46
* flag. If any are compressing it into a byte type, we'll have to check
47
* how the request memory is initialized. If we are 104% sure it's ok to
48
* expand it, we'll expand it. If not, we must redefine the field to a
49
* uint8_t and a 3 byte padding.
53
VMMDev_Seamless_Disabled = 0, /**< normal mode; entire guest desktop displayed. */
54
VMMDev_Seamless_Visible_Region = 1, /**< visible region mode; only top-level guest windows displayed. */
55
VMMDev_Seamless_Host_Window = 2 /**< windowed mode; each top-level guest window is represented in a host window. */
60
* HGCM service location types.
61
* @ingroup grp_vmmdev_req
65
VMMDevHGCMLoc_Invalid = 0,
66
VMMDevHGCMLoc_LocalHost = 1,
67
VMMDevHGCMLoc_LocalHost_Existing = 2,
68
VMMDevHGCMLoc_SizeHack = 0x7fffffff
69
} HGCMServiceLocationType;
70
AssertCompileSize(HGCMServiceLocationType, 4);
73
* HGCM host service location.
74
* @ingroup grp_vmmdev_req
78
char achName[128]; /**< This is really szName. */
79
} HGCMServiceLocationHost;
80
AssertCompileSize(HGCMServiceLocationHost, 128);
83
* HGCM service location.
84
* @ingroup grp_vmmdev_req
86
typedef struct HGCMSERVICELOCATION
88
/** Type of the location. */
89
HGCMServiceLocationType type;
93
HGCMServiceLocationHost host;
95
} HGCMServiceLocation;
96
AssertCompileSize(HGCMServiceLocation, 128+4);
98
/* forward declarations: */
99
struct VMMDevReqMousePointer;