]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common header file not applicable to open-vm-tools.
authorKaty Feng <fkaty@vmware.com>
Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)
committerKaty Feng <fkaty@vmware.com>
Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)
open-vm-tools/lib/include/ghIntegrationCommon.h

index a82f96fcaf238465f5d4bfa79f696d9e14b13efc..9bfc827cf8f7734b50b68c40c8d7327e152da9bd 100644 (file)
@@ -56,7 +56,8 @@
 #define GHI_CHANNEL_VIEW_SDR                    9  // Handled by View SDR
 #define GHI_CHANNEL_VIEW_WHFB_REDIRECTION       10 // WhfbRedirectionMKSControl module in
                                                    // View RMKS
-#define GHI_CHANNEL_COUNT                       11
+#define GHI_CHANNEL_VIEW_SCREEN_CAPTURE         11 // ScreenCapture in View RMKS
+#define GHI_CHANNEL_COUNT                       12
 
 typedef uint32 GHIChannelType;
 
@@ -223,4 +224,19 @@ typedef enum {
 #define GHI_VIEW_SDR_VDP_CONNECTED        (GHI_CHANNEL_VIEW_SDR_BITS | 0x000001)
 #define GHI_VIEW_SDR_VDP_DISCONNECTED     (GHI_CHANNEL_VIEW_SDR_BITS | 0x000002)
 
+
+/*
+ * UI->MKS messages over GHI_CHANNEL_VIEW_SCREEN_CAPTURE
+ */
+#define GHI_VIEW_SCREEN_CAPTURE_TAKE_SNAPSHOT      "ghi.view.screen.capture.take.snapshot"
+#define GHI_VIEW_SCREEN_CAPTURE_ENUM_TOPOLOGY      "ghi.view.screen.capture.enum.topology"
+
+/*
+ * MKS->UI messages over GHI_CHANNEL_VIEW_SCREEN_CAPTURE.
+ */
+#define GHI_CHANNEL_VIEW_SCREEN_CAPTURE_BITS \
+           GHI_GUEST_CHANNEL_BITS(GHI_CHANNEL_VIEW_SCREEN_CAPTURE)
+#define GHI_GUEST_SCREEN_CAPTURE_FUNC_READY        (GHI_CHANNEL_VIEW_SCREEN_CAPTURE_BITS | 0x000001)
+#define GHI_GUEST_SCREEN_CAPTURE_TOPOLOGY          (GHI_CHANNEL_VIEW_SCREEN_CAPTURE_BITS | 0x000002)
+
 #endif // ifndef _GHINTEGRATIONCOMMON_H_