Index: /trunk/src/VBox/Main/idl/VirtualBox.xidl
===================================================================
--- /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 75325)
+++ /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 75326)
@@ -4809,5 +4809,5 @@
   <interface
     name="ICaptureScreenSettings" extends="$unknown"
-    uuid="17DA29A9-3F41-482E-A9BB-3D183BA3EE59"
+    uuid="B19FFA8A-686C-4221-AB29-3C1FA33946CA"
     wsmap="managed"
     >
@@ -4829,4 +4829,10 @@
       </param>
     </method>
+
+    <attribute name="id" type="unsigned long" readonly="yes">
+      <desc>
+        This attribute contains the screen ID bound to these settings.
+      </desc>
+    </attribute>
 
     <attribute name="enabled" type="boolean" default="false">
Index: /trunk/src/VBox/Main/include/CaptureScreenSettingsImpl.h
===================================================================
--- /trunk/src/VBox/Main/include/CaptureScreenSettingsImpl.h	(revision 75325)
+++ /trunk/src/VBox/Main/include/CaptureScreenSettingsImpl.h	(revision 75326)
@@ -61,4 +61,5 @@
 
     // wrapped ICaptureScreenSettings properties
+    HRESULT getId(ULONG *id);
     HRESULT getEnabled(BOOL *enabled);
     HRESULT setEnabled(BOOL enabled);
Index: /trunk/src/VBox/Main/src-server/CaptureScreenSettingsImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/CaptureScreenSettingsImpl.cpp	(revision 75325)
+++ /trunk/src/VBox/Main/src-server/CaptureScreenSettingsImpl.cpp	(revision 75326)
@@ -243,4 +243,16 @@
 }
 
+HRESULT CaptureScreenSettings::getId(ULONG *id)
+{
+    AutoCaller autoCaller(this);
+    if (FAILED(autoCaller.rc())) return autoCaller.rc();
+
+    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
+
+    *id = m->uScreenId;
+
+    return S_OK;
+}
+
 HRESULT CaptureScreenSettings::getEnabled(BOOL *enabled)
 {
