aboutsummaryrefslogtreecommitdiff
path: root/vboxdev.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-03-29 01:15:53 +0200
committerJavier <dev.git@javispedro.com>2022-03-29 01:15:53 +0200
commita816d1a09b1045fb5c155ac73f3231fcf9d93180 (patch)
treec4e31e850b9f2afb36acd6119483cf350c33f596 /vboxdev.h
parent67ebca92621aef31ff97705013456e95e60f7fbe (diff)
downloadvbados-a816d1a09b1045fb5c155ac73f3231fcf9d93180.tar.gz
vbados-a816d1a09b1045fb5c155ac73f3231fcf9d93180.zip
initial import of DOS mouse driver
Diffstat (limited to 'vboxdev.h')
-rw-r--r--vboxdev.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/vboxdev.h b/vboxdev.h
index 627486f..a9beda1 100644
--- a/vboxdev.h
+++ b/vboxdev.h
@@ -353,6 +353,18 @@ AssertCompileSize(VMMDevReqMouseStatus, 24+12);
#define VMMDEV_MOUSE_RANGE (VMMDEV_MOUSE_RANGE_MAX - VMMDEV_MOUSE_RANGE_MIN)
/** @} */
+/** @name VBVAMOUSEPOINTERSHAPE::fu32Flags
+ * @note The VBOX_MOUSE_POINTER_* flags are used in the guest video driver,
+ * values must be <= 0x8000 and must not be changed. (try make more sense
+ * of this, please).
+ * @{
+ */
+/** pointer is visible */
+#define VBOX_MOUSE_POINTER_VISIBLE (0x0001)
+/** pointer has alpha channel */
+#define VBOX_MOUSE_POINTER_ALPHA (0x0002)
+/** pointerData contains new pointer shape */
+#define VBOX_MOUSE_POINTER_SHAPE (0x0004)
/**
* Mouse pointer shape/visibility change request.
@@ -400,6 +412,7 @@ typedef struct VMMDevReqMousePointer
*/
char pointerData[4];
} VMMDevReqMousePointer;
+AssertCompileSize(VMMDevReqMousePointer, 24+24);
/**
* Pending events structure.