From: VMware, Inc <> Date: Wed, 18 Sep 2013 03:37:35 +0000 (-0700) Subject: Add a new SetDisplayScaling RPC to the list of capabilities. X-Git-Tag: 2013.09.16-1328054~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4335f533c88d45fc05fb31b040d42eb0e3db3274;p=thirdparty%2Fopen-vm-tools.git Add a new SetDisplayScaling RPC to the list of capabilities. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/lib/include/vmware/guestrpc/capabilities.h b/open-vm-tools/lib/include/vmware/guestrpc/capabilities.h index 98dae47df..07f4d89bc 100644 --- a/open-vm-tools/lib/include/vmware/guestrpc/capabilities.h +++ b/open-vm-tools/lib/include/vmware/guestrpc/capabilities.h @@ -73,6 +73,7 @@ typedef enum { HGFSU_CAP_MIRROR_DOWNLOADS = 28, // supports remapping GOS Downloads to HGFS HGFSU_CAP_MIRROR_MOVIES = 29, // supports remapping GOS Movies to HGFS GHI_CAP_TOGGLE_START_UI = 30, // supports showing/hiding the Start UI + GHI_CAP_SET_DISPLAY_SCALING = 31, // supports setting the display scaling (DPI) } GuestCapabilities; typedef struct { @@ -145,6 +146,7 @@ static GuestCapElem guestCapTable[] = { { HGFSU_CAP_MIRROR_DOWNLOADS, HGFSU_CAP_VMDB_PATH, "mirrorDownloads" }, { HGFSU_CAP_MIRROR_MOVIES, HGFSU_CAP_VMDB_PATH, "mirrorMovies" }, { GHI_CAP_TOGGLE_START_UI, GHI_CAP_VMDB_PATH, "toggleStartUI"}, + { GHI_CAP_SET_DISPLAY_SCALING, GHI_CAP_VMDB_PATH, "setDisplayScaling"}, }; #endif // VM_NEED_VMDB_GUEST_CAP_MAPPING